Skip to content

Commit

Permalink
task: make count column bigint.
Browse files Browse the repository at this point in the history
We now have customers that exceed INT capacity, so we need to change
this to BIGINT in client_metrics_env_variants_daily as well
  • Loading branch information
chriswk committed Sep 19, 2024
1 parent 15a98fc commit fc3c305
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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);
};

0 comments on commit fc3c305

Please sign in to comment.