I *think* the rollback feature is working?

master
Mike Koch 7 years ago
parent f5907bf476
commit cae76032d1
No known key found for this signature in database
GPG Key ID: 9BA5D7F8391455ED

@ -125,7 +125,7 @@ function executeMigration(migrationNumber, latestMigrationNumber, direction) {
if (direction === 'up') {
// Revert!
executeMigration(migrationNumber - 1, 1, 'down');
executeMigration(migrationNumber - 1, latestMigrationNumber, 'down');
} else {
console.error("I even failed to roll back. Yikes! :'(");
}

Loading…
Cancel
Save