From ac33a52ddecaedabb2d0e184699b71a7e45d8b00 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Mon, 2 Oct 2017 01:39:51 +0530 Subject: [PATCH] fix(migration): make table when getting migration status --- src/Migration/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Migration/index.js b/src/Migration/index.js index 981456d3..ca8cd36e 100644 --- a/src/Migration/index.js +++ b/src/Migration/index.js @@ -436,6 +436,8 @@ class Migration { * @return {Object} */ async status (schemas) { + await this._makeMigrationsTable() + const migrated = await this.db .table(this._migrationsTable) .orderBy('name')