#6124 Please run this sql script on Bodhi's production database
Closed: Fixed 6 years ago Opened 6 years ago by bowlofeggs.

tl;dr;

Please run this on Bodhi's production db:

DROP TYPE ck_ci_status;
DROP TYPE ck_content_type;

Bit more 'splaining:

This actually had happened on staging, but I had believed it was due to how the staging sync playbook doesn't really drop the db due to BDR. When running the migrations, I would get tracebacks when they tried to create these two enums, complaining that they already exist. The dev environment also runs the migrations based off of a db dump from production and didn't have this problem, so I (wrongly) assumed that there was something weird about the BDR db sync not dropping all of the db that caused it. I was wrong and now production is broken, but running the above and re-running the migration seemed to fix it on staging.


Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata