1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/src/migrations/20231211134130-add-created-by-to-users.js

7 lines
201 B
JavaScript
Raw Normal View History

exports.up = function(db, cb) {
db.runSql(`ALTER TABLE users ADD COLUMN created_by INTEGER`, cb);
};
exports.down = function(db, cb) {
db.runSql(`ALTER TABLE users DROP COLUMN created_by`, cb);
};