Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can I Convert a SQL database design to a drupal schema installation file?

user-image
Question added by Yazan Ahmad , programmer , wysada
Date Posted: 2013/06/09
mohammed Gomma
by mohammed Gomma , Senior software engineer , adsia.com

Take a look at   d7 hook_schema 

 

you will write your code at Your_Module_Name.install file.

Muhammad Reda
by Muhammad Reda , Senior Drupal Developer and Problem Solver , MESC

Take a look at Schema module.
https://drupal.org/project/schema The Schema API allows modules to declare their database tables in a structured array and provides API functions for creating, dropping, and changing tables, columns, keys, and indexes.

More Questions Like This