Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Make a schema change to prepare for #3275
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Aug 4, 2017
1 parent 6923a12 commit 8ede101
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/db-patches/patch-18-19.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE images ADD COLUMN failed_delete BOOLEAN NOT NULL DEFAULT FALSE;
1 change: 1 addition & 0 deletions server/db-patches/patch-19-18.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE images DROP COLUMN failed_delete;
2 changes: 1 addition & 1 deletion server/src/dbschema.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const mozlog = require("./logging").mozlog("dbschema");

// When updating the database, please also run ./bin/dumpschema --record
// This updates schema.sql with the latest full database schema
const MAX_DB_LEVEL = exports.MAX_DB_LEVEL = 18;
const MAX_DB_LEVEL = exports.MAX_DB_LEVEL = 19;

exports.forceDbVersion = function(version) {
mozlog.info("forcing-db-version", {db: db.constr, version});
Expand Down

0 comments on commit 8ede101

Please # to comment.