1.0.0 • Published 1 year ago
@conversu/db-sync v1.0.0
DB-SYNC
A simple developer tool to synchronize POSTGRES local databases for node apis.
How to use
Install using npm or yarn as development dependency:
npm i @conversu/db-sync -Dyarn add @conversu/db-sync -DRegister at you package.json as script:
{
    "scripts": {
        "db:export": "node ./node_modules/@conversu/db-sync/index.mjs db:export mode=debug output=\"./\" env=\"./.env.development\" filename=db-data.sql"
    }
}Run as you need:
    npm run db:exportArguments
node ./index.mjs <operation> output="C:/your/project/path" env="C:/your/project/path/.env.development" filename=example.sql mode=<debug|quiet>Required
Optional
Operations
Author
Pablo Woinarovicz Ramos
License
1.0.0
1 year ago