Skip to content

Instantly share code, notes, and snippets.

@jeff1evesque
Last active June 20, 2016 13:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeff1evesque/5631ec9d33fc82694bd2f5398a9dde00 to your computer and use it in GitHub Desktop.
Save jeff1evesque/5631ec9d33fc82694bd2f5398a9dde00 to your computer and use it in GitHub Desktop.
Ensure missing drupal sql tables exist
# 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