Closed Bug 582761 Opened 14 years ago Closed 14 years ago

schematic migration on support-stage

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulc, Assigned: justdave)

References

()

Details

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
(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
Closed: 14 years ago
Resolution: --- → FIXED
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.