mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
17 lines
264 B
JavaScript
17 lines
264 B
JavaScript
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);
|
|
};
|
|
|