diff --git a/migrations/20141215210141-005-archived-flag-to-features.js b/migrations/20141215210141-005-archived-flag-to-features.js new file mode 100644 index 0000000000..12a3995472 --- /dev/null +++ b/migrations/20141215210141-005-archived-flag-to-features.js @@ -0,0 +1 @@ +module.exports = require('../lib/migrationRunner').create('005-archived-flag-to-features'); diff --git a/migrations/sql/005-archived-flag-to-features.down.sql b/migrations/sql/005-archived-flag-to-features.down.sql new file mode 100644 index 0000000000..4330a640ed --- /dev/null +++ b/migrations/sql/005-archived-flag-to-features.down.sql @@ -0,0 +1 @@ +ALTER TABLE features DROP COLUMN "archived"; \ No newline at end of file diff --git a/migrations/sql/005-archived-flag-to-features.up.sql b/migrations/sql/005-archived-flag-to-features.up.sql new file mode 100644 index 0000000000..6676bed910 --- /dev/null +++ b/migrations/sql/005-archived-flag-to-features.up.sql @@ -0,0 +1 @@ +ALTER TABLE features ADD archived integer DEFAULT 0; \ No newline at end of file diff --git a/sudo b/sudo new file mode 100644 index 0000000000..e69de29bb2