mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-19 00:15:43 +01:00
We now have customers that exceed INT capacity, so we need to change this to BIGINT in client_metrics_env_variants_daily as well. Even heavy users only have about 10000 rows here, so should be a quick enough operation.
8 lines
268 B
JavaScript
8 lines
268 B
JavaScript
exports.up = function(db, cb) {
|
|
db.runSql(`ALTER TABLE client_metrics_env_variants_daily ALTER COLUMN count TYPE BIGINT`, cb);
|
|
};
|
|
|
|
exports.down = function(db, cb) {
|
|
db.runSql(`ALTER TABLE client_metrics_env_variants_daily ALTER COLUMN count TYPE INT`, cb);
|
|
};
|