fix: widen stat_daily up/down columns from SMALLINT to unsigned INTEGER (#7618)

This commit is contained in:
Kushie
2026-07-24 00:42:37 +02:00
committed by GitHub
parent d3463870af
commit 37009a28f2
@@ -0,0 +1,13 @@
exports.up = function (knex) {
return knex.schema.alterTable("stat_daily", function (table) {
table.integer("up").unsigned().notNullable().alter();
table.integer("down").unsigned().notNullable().alter();
});
};
exports.down = function (knex) {
return knex.schema.alterTable("stat_daily", function (table) {
table.smallint("up").notNullable().alter();
table.smallint("down").notNullable().alter();
});
};