Skip to content
This repository was archived by the owner on Dec 23, 2020. It is now read-only.

Commit 5392425

Browse files
committed
Update readme to reflect change in defaults
1 parent 6f52af5 commit 5392425

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ async function runMigrations() {
3434
let umzug = new Umzug({
3535
// second parameter (config) is entirely optional
3636
storage: new PGStorage(db, {
37-
tableName: "MyAppMigration", // optional (default is SchemaMigration)
38-
columnName: "MyAppRevisionID" // optional (default is RevisionID)
37+
tableName: "my_app_migration", // optional (default is schema_migration)
38+
columnName: "my_app_revision_id" // optional (default is revision_id)
3939
}),
4040
migrations: {
4141
// passes the db connection to use to the first parameter of all the up()/down() migrations

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@robotty/umzug-postgres-storage",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "PostgreSQL connector for umzug",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)