Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix createMigration
Browse files Browse the repository at this point in the history
  • Loading branch information
TimurRin committed Mar 18, 2024
1 parent 3401a70 commit c043bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function createMigration() {
query: `INSERT INTO "migrations" ("revision", "${versionColumnName}", "date_migrated") VALUES (?, ?, ?);`,
args: [
migrations.length,
process.env.npm_package_version,
process.env.npm_package_version || "-",
Math.round(Date.now() / 1000),
],
},
Expand Down

0 comments on commit c043bb7

Please sign in to comment.