Fix : Change proxy port column type to integer to support larger port numbers ()

This commit is contained in:
Louis Lam 2025-03-25 02:07:15 +08:00 committed by GitHub
parent a7d1b99719
commit 10a518e72e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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();
});
};