Last active
June 20, 2016 13:46
-
-
Save jeff1evesque/5631ec9d33fc82694bd2f5398a9dde00 to your computer and use it in GitHub Desktop.
Ensure missing drupal sql tables exist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ensure missing sql tables exist | |
$ drush ev 'foreach(drupal_get_schema() as $name => $schema) if(!db_table_exists($name)) db_create_table($name, $schema)' | |
# update database schema | |
$ drush updatedb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment