schematic migration on support-stage

VERIFIED FIXED

Status

mozilla.org Graveyard
Server Operations
--
critical
VERIFIED FIXED
8 years ago
3 years ago

People

(Reporter: paulc, Assigned: justdave)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
Getting this error on support-stage:

DatabaseError: (1146, "Table 'support_stage_new_mozilla_com.upload_imageattachment' doesn't exist")


* Did schematic run? Check the database with:
** SELECT version FROM schema_version
* If it didn't run (version < 22), please run it.
This is blocking testing
Severity: major → critical
Assignee: server-ops → justdave
schema_version = 21.

Needs the upgrade script run.
where do I find the upgrade script?  I don't see it in an obvious place in the docroot
(Reporter)

Comment 4

8 years ago
(In reply to comment #3)
> where do I find the upgrade script?  I don't see it in an obvious place in the
> docroot
Once you're in the virtualenv for kitsune you can just run |schematic migrations|
found the script at kitsune/22-image-upload.sql

It's been run.

From what I gather that should have been at kitsune/migrations/22-image-upload.sql
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 6

8 years ago
Yeah, sorry about that.

Seems like I screwed up and forgot to put the migration in the proper folder. It's there now:
http://github.com/jsocol/kitsune/commit/fec585f97d29b26b0e8b5d5b0d958a5c246b3165

Thanks Dave!
Verified- yay!
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.