parent
16a41d53c1
commit
94af1d98d7
@ -0,0 +1,12 @@
|
||||
exports.up = function (knex) {
|
||||
return knex.schema
|
||||
.alterTable("notification", function (table) {
|
||||
table.boolean("use_path_as_name").notNullable().defaultTo(true);
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = function (knex) {
|
||||
return knex.schema.alterTable("notification", function (table) {
|
||||
table.dropColumn("use_path_as_name");
|
||||
});
|
||||
};
|
Loading…
Reference in new issue