vovavc/Migrate database
Database seed tool built with golang-migrate
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Location of the migration files | yes | ./migrations |
| database | Run migrations against this database (ex: postgres://postgres:postgres@postgres:5432/database?sslmode=disable) | yes | — |
| command | Command to run | — | up |
| prefetch | Number of migrations to load in advance before executing (default 10) | — | 10 |
| lockTimeout | Allow N seconds to acquire database lock (default 15) | — | 15 |
| verbose | Print verbose logging | — | "" |
| version | Print version | — | "" |
Outputs
no outputs