Skip to content

Commit

Permalink
fix: various migration issues (#251)
Browse files Browse the repository at this point in the history
* add prettier config
* pass transaction and database client to migrations
* take initial schema version from migrations (max value)
* version 1.2.0-beta.1
  • Loading branch information
yss14 authored Sep 13, 2020
1 parent f8172ab commit bba698a
Show file tree
Hide file tree
Showing 7 changed files with 828 additions and 594 deletions.
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@addbots/prettier-config")
34 changes: 33 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postgres-schema-builder",
"version": "1.1.0-beta.2",
"version": "1.2.0-beta.1",
"description": "Simple postgres schema builder leveraging Typescript's type system to enable typesafe queries",
"keywords": [
"postgres",
Expand Down Expand Up @@ -38,13 +38,17 @@
"dependencies": {
"@types/pg": "^7.11.2",
"@types/pg-escape": "^0.2.0",
"lodash.max": "^4.0.1",
"moment": "^2.24.0",
"pg": "^8.0.3",
"pg-escape": "^0.2.0"
},
"devDependencies": {
"@addbots/eslint-config": "^1.1.0",
"@addbots/prettier-config": "^1.0.0",
"@types/dotenv": "^8.2.0",
"@types/jest": "^26.0.0",
"@types/lodash.max": "^4.0.6",
"@types/node": "^14.0.0",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^2.8.0",
Expand Down
Loading

0 comments on commit bba698a

Please sign in to comment.