mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: migration rollback use DROP for column
This commit is contained in:
parent
15b1e5514f
commit
b33e8e23f0
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user