mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-12 22:47:00 +08:00
Fix #5721
This commit is contained in:
13
db/knex_migrations/2025-03-25-0127-fix-5721.js
Normal file
13
db/knex_migrations/2025-03-25-0127-fix-5721.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// 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();
|
||||||
|
});
|
||||||
|
};
|
Reference in New Issue
Block a user