Skip to content

Commit

Permalink
feat: increase possible number range for yes/no metrics (#6995)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew authored May 7, 2024
1 parent b69c294 commit d1803b2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/migrations/20240507075431-client-metrics-env-daily-bigint.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
exports.up = function (db, cb) {
db.runSql(`
ALTER TABLE client_metrics_env_daily ALTER COLUMN yes TYPE bigint;
ALTER TABLE client_metrics_env_daily ALTER COLUMN no TYPE bigint;
`, cb);
};

exports.down = function (db, cb) {
db.runSql(
`
`,
cb,
);
};

0 comments on commit d1803b2

Please sign in to comment.