@vbilopav/pgmigrations
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@vbilopav/pgmigrations", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "PostgreSQL Migration Tool for Node.js and NPM", | ||
@@ -5,0 +5,0 @@ "author": "vb-consulting", |
@@ -8,4 +8,9 @@ # PgMigrations | ||
Lightweight, zero-dependency, PostgreSQL Migration and PostgreSQL tool for Node.js and NPM. | ||
Lightweight, Zero-Dependency, PostgreSQL Tool for Node.js and NPM. You can: | ||
- Run Migrations Up or Down (Repeatable, Version, Before or After). | ||
- Run Arbitrary `psql` Commands by using your Project Configuration. | ||
- Create Database Schema Dumps by using your Project Configuration. | ||
- Run PostgreSQL Database Unit Tests in Functions or Procedures. | ||
Use the `pgmigrations` command to manage migrations and run database commands: | ||
@@ -94,2 +99,8 @@ | ||
- Run database tests | ||
```console | ||
> npx pgmigrations test | ||
``` | ||
Etc. | ||
@@ -96,0 +107,0 @@ |
@@ -93,3 +93,8 @@ const { warning, info, error, passed, failed } = require("./log.js"); | ||
console.timeEnd(label); | ||
if (failedCount > 0) { | ||
// exit process with non-zero status | ||
process.exit(1); | ||
} | ||
} | ||
62568
1146
390