0.3.0 • Published 5 years ago
contartec-migrations-postgres v0.3.0
Centralized Contartec migrations module
Runs all contartec's modules migrations
@contartec-team/dashboard-migrations
@contartec-team/allocations
@contartec-team/centroids
@contartec-team/employees
@contartec-team/organizations
@contartec-team/technical-infos
@contartec-team/terminals
@contartec-team/tracker-readings
@contartec-team/usersInstall
npm install @contartec-team/contartec-migrations
Installing
Requirements
Get your github personal token (with read:packages permissions)
npm config set '//npm.pkg.github.com/:_authToken' "${NPM_GITHUB_TOKEN}"
npm install -g nodemon knex eslint bower apidoc jacu foremanAlso make sure you have:
- PostegreSQL
v.9.5 - node
v10.14.x
Running
Copy .env.example to .env replacing the informations with the correct ones.
Run npm install.
Run npm start or npm run migrate.
Testing
Run npm run test.
Docs
Table of Contents
runMigrations
Run the migrations for all contartec modules
0.3.0
5 years ago