Simple database migration tool for Postgres
1.1K
Command line docker release of dumbo: https://github.com/rolang/dumbo (see README for full documentation).
To print the command line help run:
docker run rolang/dumbo:latest-alpine help
| Command | Description |
|---|---|
| help | Print this usage info and exit |
| migrate | Migrates the database |
| validate | Validates the applied migrations against the ones in the location |
| version, -v, --version | Print the Dumbo version |
| Configuration | Description | Default |
|---|---|---|
| location | Path to directory to scan for migrations | |
| table | The name of Dumbo's schema history table | flyway_schema_history |
| password | Password to use to connect to the database | |
| url | Url to use to connect to the database | |
| validateOnMigrate | Validate when running migrate | true |
| user | User to use to connect to the database | |
| schemas | Comma-separated list of the schemas managed by Dumbo. First schema will be used as default schema if set. | public |
| ssl | SSL mode to use: none, trusted or system. | none |
Run migration given migration files in /path/to/db/migration:
docker run \
-v /path/to/db/migration:/migration \
rolang/dumbo:latest-alpine \
-user=postgres \
-password=postgres \
-url=postgresql://localhost:5432/postgres \
-location=/migration \
migrate
Content type
Image
Digest
sha256:c3812ec0b…
Size
13.4 MB
Last updated
about 2 months ago
docker pull rolang/dumbo:latest-alpine