I *think* the rollback feature is working?

This commit is contained in:
Mike Koch 2017-10-16 20:39:16 -04:00
parent f5907bf476
commit cae76032d1
No known key found for this signature in database
GPG Key ID: 9BA5D7F8391455ED

View File

@ -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! :'(");
}