mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-26 14:09:45 -08:00
15 lines
391 B
JavaScript
15 lines
391 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();
|
||
|
});
|
||
|
};
|