@nextcode/postgres-migrator
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -44,3 +44,3 @@ import { Migration } from './types'; | ||
dropTable(): Promise<void>; | ||
migrate(migrations: Migration[]): Promise<void>; | ||
migrate(originalMigrations: Migration[]): Promise<void>; | ||
up(migration: Migration): Promise<void>; | ||
@@ -47,0 +47,0 @@ down(migration: Migration): Promise<void>; |
@@ -159,4 +159,5 @@ "use strict"; | ||
} | ||
migrate(migrations) { | ||
migrate(originalMigrations) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const migrations = [...originalMigrations]; | ||
yield this.init(); | ||
@@ -163,0 +164,0 @@ const promises = []; |
{ | ||
"name": "@nextcode/postgres-migrator", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "Postgres migration package with zero dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
100261
1556