1.0.4 • Published 1 year ago

@evidenceai/naali-db-migrations v1.0.4

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year ago

Database migrations

This project uses node-pg-migrate package for migrations. See node-pg-migrate on GitHub for detailed docs and examples.

Environment variables

Connection string is expected in DATABASE_URL environment variable. Copy .env.example to .env and edit the connection string.

Create a new migration

Run npm run migrate create <migration_name>;

Initialize database or migrate to the latest version

Run npm run migrate up;

1.0.2

1 year ago

1.0.1

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago