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)
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.
Updated•15 years ago
|
Assignee: server-ops → justdave
Reporter | ||
Comment 1•15 years ago
|
||
Could we get some movement on this please?
Severity: major → critical
Reporter | ||
Updated•15 years ago
|
Assignee: justdave → server-ops
Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → justdave
Assignee | ||
Comment 2•15 years ago
|
||
Restore in progress. notifications_eventwatch and tiki_user_watches will be truncated as soon as the restore completes.
Assignee | ||
Comment 3•15 years ago
|
||
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
Reporter | ||
Comment 4•15 years ago
|
||
Awesome. Thanks justdave! I'll leave it to QA to verify bug 592776 on stage.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•