diff --git a/src/migrations/20241114103646-licensed-users.js b/src/migrations/20241114103646-licensed-users.js new file mode 100644 index 000000000000..3243756dc199 --- /dev/null +++ b/src/migrations/20241114103646-licensed-users.js @@ -0,0 +1,16 @@ +exports.up = (db, cb) => { + db.runSql(` + CREATE TABLE IF NOT EXISTS licensed_users ( + count INT, + date DATE PRIMARY KEY + ); + `, cb); + +}; + +exports.down = (db, cb) => { + db.runSql(` + DROP TABLE IF EXISTS licensed_users; + `, cb); +}; +