sharath-c7/Database Migration
Migrate a Postgres service spinned up for testing purposes.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| database_url | Connection string for the database. Follows the format: postgres://[user[:password]@][host][:port][/dbname][?options] | yes | postgres://root:password@localhost:5432/test?sslmode=disable |
| migration_files_source | Path or URL to migration files. Can be local, a GitHub repo using 'github://<owner>/<repo>?dir=<directory>', or other formats supported by golang-migrate. | yes | file://db/migrations |
Outputs
| name | description |
|---|---|
| migration_report | Reports the status of the database migration |