Skip to content

Commit

Permalink
fix: migration rollback use DROP for column
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Apr 22, 2021
1 parent 15b1e55 commit b33e8e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ exports.up = function(db, cb) {
};

exports.down = function(db, cb) {
db.runSql(`ALTER TABLE strategies REMOVE COLUMN sort_order;`, cb);
db.runSql(`ALTER TABLE strategies DROP COLUMN sort_order;`, cb);
};

0 comments on commit b33e8e2

Please sign in to comment.