-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Liquigen | ||
> | ||
Liquibase Changeset Generation for IntelliJ IDEA | ||
> | ||
## How to Use | ||
This plugin acts as a front-end for several Liquibase command-line actions. | ||
|
||
Currently the following actions are supported: | ||
- Generate a Liquibase XML changelog based on a configured Data Source | ||
- Generate a Liquibase XML changelog for a single selected Database Object | ||
- Compare two Data Sources - a reference and a target - and generate a Liquibase XML changelog | ||
to transform the target Data Source to the reference | ||
|
||
### Generate XML from Data Source | ||
Select a Data Source, then select <kbd>Liquibase</kbd> > <kbd>Generate Changeset</kbd> | ||
|
||
<img src="https://raw.githubusercontent.com/iman89/liquigen/master/doc/liquigen_generate_data_source.png" width="735" height="490" /> | ||
|
||
### Generate XML from Database Object | ||
Select a Database Object, then select <kbd>Liquibase</kbd> > <kbd>Generate Changeset</kbd> | ||
|
||
If Liquibase does not support generating XML changeset for selected object, the resulting XML will be empty. | ||
|
||
<img src="https://raw.githubusercontent.com/iman89/liquigen/master/doc/liquigen_generate_db_object.png" width="735" height="490" /> | ||
|
||
### Compare two Data Sources | ||
- Select a Data Source, then select <kbd>Liquibase</kbd> > <kbd>Generate Diff...</kbd> | ||
- Select a reference Data Source in the pop-up | ||
|
||
Generated diff will be based upon which transformations are needed to transform target Data Source to a reference Data Source. | ||
|
||
This operation is not symmetric. | ||
|
||
<img src="https://raw.githubusercontent.com/iman89/liquigen/master/doc/liquigen_generate_diff.png" width="735" height="490" /> | ||
|
||
> | ||
## How to Install | ||
Download the [latest release](https://github.com/iman89/liquigen/releases) and install it manually using <kbd>File</kbd> > <kbd>Settings</kbd> > <kbd>Plugins</kbd> > <kbd>Install plugin from disk...</kbd> | ||
> | ||
## How to Build | ||
To build the plugin from source code, please execute: | ||
``` | ||
gradlew buildPlugin | ||
``` | ||
You can find the distribution file in `build/distributions` folder. | ||
|
||
**Caution!** This plugin is configured to build against a bundled distribution of **IntelliJ Ultimate 2017.3.3** | ||
|
||
This can result in an extremely heavy and lengthy download of dependencies. | ||
If you want to build this plugin against your local IntelliJ IDE installation, please consult | ||
[Gradle IntelliJ plugin](https://github.com/JetBrains/gradle-intellij-plugin) documentation. | ||
> | ||
## Download | ||
Download the [latest release](https://github.com/iman89/liquigen/releases). |