diff --git a/src/migrations/20240507075431-client-metrics-env-daily-bigint.js b/src/migrations/20240507075431-client-metrics-env-daily-bigint.js new file mode 100644 index 000000000000..44e6dd14ce80 --- /dev/null +++ b/src/migrations/20240507075431-client-metrics-env-daily-bigint.js @@ -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, + ); +};