mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
42bf27fe5a
* increased pushToken security * Merge manually --------- Co-authored-by: Andreas Brett <github@abrett.de> Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
14 lines
391 B
JavaScript
14 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();
|
|
});
|
|
};
|