Closed Bug 599115 Opened 15 years ago Closed 15 years ago

Sync stage database from prod and run some SQL

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

We need to run some SQL from bug 592776, and that would be best tested against a latest copy of the production database. Steps: 1. Import prod db to staging server (http://support-stage.mozilla.com) 2. Run this SQL and paste the output here please: --- UPDATE questions_question SET creator_id = creator_id + 643 WHERE creator_id <= 208568 and creator_id >= 208553; UPDATE questions_answer SET creator_id = creator_id + 643 WHERE creator_id <= 208568 and creator_id >= 208553; --- Thanks! Let me know if anything is unclear.
Assignee: server-ops → justdave
Could we get some movement on this please?
Severity: major → critical
Assignee: justdave → server-ops
Assignee: server-ops → justdave
Restore in progress. notifications_eventwatch and tiki_user_watches will be truncated as soon as the restore completes.
mysql> UPDATE questions_question SET creator_id = creator_id + 643 WHERE creator_id <= -> 208568 and creator_id >= 208553; Query OK, 13 rows affected (1.00 sec) Rows matched: 13 Changed: 13 Warnings: 0 mysql> UPDATE questions_answer SET creator_id = creator_id + 643 WHERE creator_id <= -> 208568 and creator_id >= 208553; Query OK, 35 rows affected (0.08 sec) Rows matched: 35 Changed: 35 Warnings: 0
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Awesome. Thanks justdave! I'll leave it to QA to verify bug 592776 on stage.
Status: RESOLVED → VERIFIED
Blocks: 592776
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.