Last modified: 2014-06-13 15:33:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67893, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65893 - when running a db migration in prod do not try to run it in wikimetrics_testing
when running a db migration in prod do not try to run it in wikimetrics_testing
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All All
: Highest normal
: ---
Assigned To: Nobody - You can work on this!
u=dandreescu@wikimedia.org c=Wikimetr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-29 14:30 UTC by nuria
Modified: 2014-06-13 15:33 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description nuria 2014-05-29 14:30:00 UTC
By default db migrations run in wikimetrics db but also on wikimetrics_testing db. Make sure that if we are in prod (debug=true) the migration is only run on the wikimetrics db
Comment 1 Gerrit Notification Bot 2014-06-12 20:54:50 UTC
Change 139202 had a related patch set uploaded by Milimetric:
Make alembic skip test migrations in prod

https://gerrit.wikimedia.org/r/139202
Comment 2 Gerrit Notification Bot 2014-06-13 13:46:27 UTC
Change 139202 merged by jenkins-bot:
Make alembic skip test migrations in prod

https://gerrit.wikimedia.org/r/139202

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links