Skip to content

Commit

Permalink
feat: licensed users migration table
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Nov 14, 2024
1 parent 3e424ec commit afb97ea
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
);
`, cb);

};

exports.down = (db, cb) => {
db.runSql(`
DROP TABLE IF EXISTS licensed_users;
`, cb);
};

0 comments on commit afb97ea

Please sign in to comment.