1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: licensed users migration table (#8748)

This commit is contained in:
Jaanus Sellin 2024-11-14 10:59:29 +02:00 committed by GitHub
parent 9440b52464
commit ec9be77383
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
};