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
2023-12-11 15:39:07 +01:00

7 lines
201 B
JavaScript

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