git-dev-workflow icon indicating copy to clipboard operation
git-dev-workflow copied to clipboard

Database update does not delete tables

Open andrewtf opened this issue 11 years ago • 2 comments

When updating databases, tables are not deleted. This leads to errors when Drupal update expects a table not to exist.

https://github.com/eosrei/git-dev-workflow/blob/5857e7fbf29f1e9185b1b3bcc2047832c11893c8/playbook/files/usr-local-bin-gdw#L140

andrewtf avatar Oct 16 '14 20:10 andrewtf

I've been seeing a lot of errors saying tables already exist. Could that be related?

davidneedham avatar Oct 16 '14 20:10 davidneedham

Doing dev testing, updated dev from live and ran into an update script error when table was already present. Deleted dev db and updated again.

andrewtf avatar Oct 16 '14 21:10 andrewtf