Skip to content

Commit

Permalink
fix(migration): make table when getting migration status
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 1, 2017
1 parent 7ebca55 commit ac33a52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Migration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ class Migration {
* @return {Object}
*/
async status (schemas) {
await this._makeMigrationsTable()

const migrated = await this.db
.table(this._migrationsTable)
.orderBy('name')
Expand Down

0 comments on commit ac33a52

Please sign in to comment.