Home ›
Gotcha: drush sql-sync does not drop existing tables Gotcha: drush sql-sync does not drop existing tables
Submitted by Benjamin Melançon on July 26, 2011 - 9:36pm
When you run drush sql-sync @example.prod @example.dev
you do not have exactly what is on your example production site. Tables that do not exist on production but do exist on your local development site will still exist.
You need to drop all tables in the database, or simply drop and re-create the database, first.
Searched words:
sqlsynch fails not delete
Comments
Post new comment