mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-29 20:42:20 +00:00
13 lines
393 B
JavaScript
13 lines
393 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();
|
|
});
|
|
};
|