Closed Bug 819506 Opened 12 years ago Closed 12 years ago

please deploy persona 0.2012.12.07.1 to staging environment

Categories

(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)

x86
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 819850

People

(Reporter: jrgm, Assigned: gene)

References

Details

This is a preliminary request to deploy train-2012.12.07 to the staging environment, so gene can add the new table. The final sha is not yet determined.

I believe the sql to create the new table is 
https://github.com/mozilla/browserid/blob/dev/lib/db/mysql.js#L91

lloyd or ozten, can you confirm that is the final version?

  "CREATE TABLE IF NOT EXISTS idp (" +
  "id BIGINT AUTO_INCREMENT PRIMARY KEY," +
  "domain VARCHAR(255) UNIQUE NOT NULL," +
  "lastSeen TIMESTAMP DEFAULT 0 NOT NULL" +
  ") ENGINE=InnoDB;"
Assignee: nobody → gene
ozten says that is the correct sql.
CREATE TABLE IF NOT EXISTS idp (id BIGINT AUTO_INCREMENT PRIMARY KEY,domain VARCHAR(255) UNIQUE NOT NULL,lastSeen TIMESTAMP DEFAULT 0 NOT NULL) ENGINE=InnoDB;
Ok, I've added the table to the master, this should replicate to the slaves :

# On db1.iddb.scl2.stage.svc.mozilla.com
echo "CREATE TABLE IF NOT EXISTS idp (id BIGINT AUTO_INCREMENT PRIMARY KEY,domain VARCHAR(255) UNIQUE NOT NULL,lastSeen TIMESTAMP DEFAULT 0 NOT NULL) ENGINE=InnoDB;" | sudo mysql browserid
Status: NEW → ASSIGNED
Closing this in favour of duplicate bug 819850, which has the commit sha for deployment on stage.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.