mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-03 03:07:02 +00:00
13 lines
376 B
JavaScript
13 lines
376 B
JavaScript
// Fix #5721: Change proxy port column type to integer to support larger port numbers
|
|
exports.up = function (knex) {
|
|
return knex.schema.alterTable("proxy", function (table) {
|
|
table.integer("port").alter();
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("proxy", function (table) {
|
|
table.smallint("port").alter();
|
|
});
|
|
};
|