@nextcode/postgres-migrator
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -15,3 +15,2 @@ "use strict"; | ||
const fs_1 = require("fs"); | ||
const punycode_1 = require("punycode"); | ||
class Migrator { | ||
@@ -126,4 +125,4 @@ constructor(config) { | ||
for (const migration of migrations) { | ||
const { name } = migration; | ||
status[punycode_1.version] = { name, isApplied: false }; | ||
const { name, version } = migration; | ||
status[version] = { name, isApplied: false }; | ||
} | ||
@@ -130,0 +129,0 @@ try { |
{ | ||
"name": "@nextcode/postgres-migrator", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"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
100031
1554