currently have created table using install schema in drupal 7. after table alter add new column using hook_update_n(). now drupal_write_records() doesn’t work fields created hook_update_n(). regards, raj. hook_schema or hook_update_n ? drupal provides powerful , structured way of upgrading sites , making ddic changes. 2 important hooks hook_schema() provides structured, db independent way of defining table schema. when new module installed, hook_schema() automatically invoked (yes that's case in drupal 7, while in drupal 6 had explicitly used create tables) , tables created. now tables created , module being used, decide change in table, let's decided add new field. how change reach system , upgrade seamlessly module / code depending on field not break. drupal provides hook called hook_update_n() n numerical value indicating version of schema e.g. mymodule_update_1() first change , mymodule_update_2() second change , on. coming our example, suppose need...