Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liquibase/liquibase-data
https://github.com/liquibase/liquibase-data
core extension oss
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liquibase/liquibase-data
- Owner: liquibase
- License: apache-2.0
- Created: 2021-08-31T17:56:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T12:08:14.000Z (4 months ago)
- Last Synced: 2024-09-12T23:24:40.984Z (4 months ago)
- Topics: core, extension, oss
- Language: Kotlin
- Homepage:
- Size: 5.62 MB
- Stars: 27
- Watchers: 7
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Liquibase Data
Liquibase Data is an extension for Liquibase that brings git-like functionality to your database.
With Liquibase Data, you can version containerized databases, share changes with team members, store versions in remote locations, tag versions.
***
## Visit the [Tutorial](beta/README.md) for a guided tour of Liquibase Data.
***## Getting Started
### Requirements
* [Liquibase](https://github.com/liquibase/liquibase/releases)## Installation
Download the latest [release](https://github.com/liquibase/liquibase-data/releases) and extract the contents to `LIQUIBASE/lib`.## Usage
Liquibase Data commands are available from the Command Line Interface.
```bash
liquibase data [OPTIONS] [COMMAND]
```For any command, additional help information is available with the `--help` option. Example:
```bash
liquibase data clone --helpClone a remote repository to local repository
Usage: liquibase data clone [OPTIONS]
--commit=PARAM commit to checkout
(liquibase.command.commit OR liquibase.command.data.
clone.commit)
(LIQUIBASE_COMMAND_COMMIT OR
LIQUIBASE_COMMAND_DATA_CLONE_COMMIT)--disable-port-mapping[=PARAM]
disable default port mapping from container to
localhost
(liquibase.command.disablePortMapping OR liquibase.
command.data.clone.disablePortMapping)
(LIQUIBASE_COMMAND_DISABLE_PORT_MAPPING OR
LIQUIBASE_COMMAND_DATA_CLONE_DISABLE_PORT_MAPPING)
[deprecated: --disablePortMapping]-h, --help Show this help message and exit
--name=PARAM optional new name for repository
(liquibase.command.name OR liquibase.command.data.
clone.name)
(LIQUIBASE_COMMAND_NAME OR
LIQUIBASE_COMMAND_DATA_CLONE_NAME)--parameters=PARAM provider specific parameters. key=value format.
comma separated
(liquibase.command.parameters OR liquibase.command.
data.clone.parameters)
(LIQUIBASE_COMMAND_PARAMETERS OR
LIQUIBASE_COMMAND_DATA_CLONE_PARAMETERS)--tags=PARAM filter latest commit by tags. comma separated
(liquibase.command.tags OR liquibase.command.data.
clone.tags)
(LIQUIBASE_COMMAND_TAGS OR
LIQUIBASE_COMMAND_DATA_CLONE_TAGS)--uri=PARAM [REQUIRED] URI of the remote to clone from
(liquibase.command.uri OR liquibase.command.data.
clone.uri)
(LIQUIBASE_COMMAND_URI OR
LIQUIBASE_COMMAND_DATA_CLONE_URI)```
## Available Commands
|Command |Description |
|:--- | :--- |
|checkout |Checkout a specific commit |
|clone |Clone a remote repository to local repository |
|commit |Commit current data state |
|cp |Copy data into a repository |
|delete |Delete objects from titan |
|diff | |
|generate-changelog |Generate a changelog [deprecated: generateChangelog] |
|log |List commits for a repository |
|ls |List repositories |
|migrate |Migrate an existing docker database container to titan repository. |
|pull |Pull a new data state from remote |
|push |Push data state to remote |
|remote | |
|rm |Remove a repository |
|run |Create repository and start container |
|start |Start a container for a repository |
|stop |Stop a container for a repository |
|tag |Tag objects in titan |
|update |Deploy any changes in the changelog file that have not been deployed |## Report Issues
Please report all issues and suggestions [here](https://github.com/liquibase/liquibase-data/issues).## Want to help?
Want to file a bug or improve documentation? Excellent! Read up on our guidelines for [contributing](https://www.liquibase.org/community/index.html)!## License
Liquibase is [licensed under the Apache 2.0 License](https://github.com/liquibase/liquibase-data/blob/main/LICENSE).