Skip to content

Commit

Permalink
feat: licensed users migration table (#8748)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus authored Nov 14, 2024
1 parent 9440b52 commit ec9be77
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/migrations/20241114103646-licensed-users.js
Original file line number Diff line number Diff line change
@@ -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);
};

0 comments on commit ec9be77

Please sign in to comment.