1.0.4 • Published 3 months ago

@evidenceai/naali-db-migrations v1.0.4

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 months 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

3 months ago

1.0.1

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.0

3 months ago