... | @@ -11,8 +11,6 @@ When an application is already deployed and changes to the database are necessar |
... | @@ -11,8 +11,6 @@ When an application is already deployed and changes to the database are necessar |
|
* (**EASIER**) Alternatively, you can opt to install the `.jar` file using the relevant version of H2 available on [Maven Central](https://mvnrepository.com/artifact/com.h2database/h2). When executing the migration process (see below), include an extra `--classpath` flag, specifying the file path to the installed `.jar` file.
|
|
* (**EASIER**) Alternatively, you can opt to install the `.jar` file using the relevant version of H2 available on [Maven Central](https://mvnrepository.com/artifact/com.h2database/h2). When executing the migration process (see below), include an extra `--classpath` flag, specifying the file path to the installed `.jar` file.
|
|
6. On a new line add the variable `changeSetAuthor` and set it equal to your GitLab username (usually your NetID).
|
|
6. On a new line add the variable `changeSetAuthor` and set it equal to your GitLab username (usually your NetID).
|
|
|
|
|
|
Another option is to obtain `h2.jar` and `liquibase.zip` from another developer (or from the `.gradle` folder). Then add Liquibase to your path and put the jar under `/usr/local/apps/h2`.
|
|
|
|
|
|
|
|
### Create migrations:
|
|
### Create migrations:
|
|
|
|
|
|
1. Make sure your `spring.datasource` in the `application.yaml` has `username: sa` and `password:`
|
|
1. Make sure your `spring.datasource` in the `application.yaml` has `username: sa` and `password:`
|
... | | ... | |