Skip to content

Commit 22c941a

Browse files
committed
fix migration
1 parent b4f5af1 commit 22c941a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

migrate.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@ knex.schema.hasTable("accounts").then(function(exists) {
1313
t.text("description");
1414
});
1515
}
16+
}).then(() => {
17+
process.exit();
18+
}).catch(err => {
19+
console.log(err);
20+
process.exit(1);
1621
});
1722

0 commit comments

Comments
 (0)