1
0
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:
Ivar Conradi Østhus 2021-04-22 22:30:08 +02:00
parent 15b1e5514f
commit b33e8e23f0
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

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