https://github.com/bootique/bootique-liquibase
Integration of Liquibase with Bootique
https://github.com/bootique/bootique-liquibase
bootique liquibase migrate-database migration-tool migrations
Last synced: 6 months ago
JSON representation
Integration of Liquibase with Bootique
- Host: GitHub
- URL: https://github.com/bootique/bootique-liquibase
- Owner: bootique
- License: apache-2.0
- Created: 2015-12-15T07:59:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-04-19T13:22:45.000Z (6 months ago)
- Last Synced: 2025-04-19T18:03:28.226Z (6 months ago)
- Topics: bootique, liquibase, migrate-database, migration-tool, migrations
- Language: Java
- Homepage: http://bootique.io
- Size: 224 KB
- Stars: 2
- Watchers: 8
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/bootique/bootique-liquibase/actions/workflows/maven.yml)
[](https://search.maven.org/artifact/io.bootique.liquibase/bootique-liquibase/)
# bootique-liquibase
Provides [Liquibase](http://liquibase.org) integration with [Bootique](http://bootique.io).
*For additional help/questions about this example send a message to
[Bootique forum](https://groups.google.com/forum/#!forum/bootique-user).*
## Prerequisites
* Java 1.8 or newer.
* Apache Maven.
# Setup
## Add bootique-liquibase to your build tool
**Maven**
```xml
io.bootique.bom
bootique-bom
3.0-M4
pom
import
io.bootique.liquibase
bootique-liquibase
```
## Available commands
```
OPTIONS
--catalog=catalog_name
Catalog against which 'liquibase dropAll' will be executed.
--config=yaml_location
Specifies YAML config location, which can be a file path or a URL.
-h, --help
Prints this message.
-H, --help-config
Prints information about application modules and their configuration
options.
--lb-changelog-sync
Mark all changes as executed in the database.
--lb-changelog-sync-sql
Writes SQL to mark all changes as executed in the database to STDOUT.
--lb-clear-check-sums
Clears all checksums in the current changelog, so they will be
recalculated next update.
-x [val], --lb-context[=val]
Specifies Liquibase context to control which changeSets will be
executed in migration run.
-d [val], --lb-default-schema[=val]
Specifies the default schema to use for managed database objects and
for Liquibase control tables.
--lb-drop-all
Drops all database objects in the configured schema(s). Note that
functions, procedures and packages are not dropped.
-u, --lb-update
Updates DB with available migrations
-v, --lb-validate
Checks the changelog for errors.
-s schema_name, --schema=schema_name
Schema against which 'liquibase dropAll' will be executed.
```
## Example Project
[bootique-liquibase-demo](https://github.com/bootique-examples/bootique-liquibase-demo)