Skip to content

Commit

Permalink
feat: add created_by to role_permission table
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Dec 11, 2023
1 parent e8f19e6 commit eed4949
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
exports.up = function(db, cb) {
db.runSql(`ALTER TABLE role_permission ADD COLUMN created_by INTEGER`, cb);
};

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

0 comments on commit eed4949

Please sign in to comment.