mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
68e7a3164e
Recently we see some pods failing with inserting yes, no values that were over int. Increasing type to bigint.
15 lines
293 B
JavaScript
15 lines
293 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(`
|
|
ALTER TABLE flag_trends ALTER COLUMN total_yes TYPE bigint;
|
|
ALTER TABLE flag_trends ALTER COLUMN total_no TYPE bigint;
|
|
`, cb);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
`,
|
|
cb,
|
|
);
|
|
};
|