blob: a6b9c7bb9e86cb1b740d4432e3f796a557ec4648 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
exports.up = function (knex) {
// Add new column heartbeat.retries
return knex.schema
.alterTable("heartbeat", function (table) {
table.integer("retries").notNullable().defaultTo(0);
});
};
exports.down = function (knex) {
return knex.schema
.alterTable("heartbeat", function (table) {
table.dropColumn("retries");
});
};
|