diff --git a/src/migrations/20231211134130-add-created-by-to-users.js b/src/migrations/20231211134130-add-created-by-to-users.js new file mode 100644 index 0000000000..3bbd63d135 --- /dev/null +++ b/src/migrations/20231211134130-add-created-by-to-users.js @@ -0,0 +1,7 @@ +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); +}; \ No newline at end of file