0f61d7ee1b
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
13 lines
357 B
JavaScript
13 lines
357 B
JavaScript
exports.up = function (knex) {
|
|
// update monitor.push_token to 32 length
|
|
return knex.schema.alterTable("monitor", function (table) {
|
|
table.string("push_token", 32).alter();
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("monitor", function (table) {
|
|
table.string("push_token", 20).alter();
|
|
});
|
|
};
|