Skip to content

Commit

Permalink
Merge pull request #404 from zemian/sql-liquibase-improv-master
Browse files Browse the repository at this point in the history
Sql liquibase improv master
  • Loading branch information
zemian authored Feb 28, 2019
2 parents e33145a + 548a6ef commit d56e1d0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
39 changes: 39 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,45 @@
</build>

<profiles>
<profile>
<id>mysql-test</id>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.15</version>
</dependency>
</dependencies>
<properties>
<liquibase.url>jdbc:mysql://localhost:3306/quartz?serverTimezone=EST</liquibase.url>
<liquibase.username>quartz</liquibase.username>
<liquibase.password>quartz123</liquibase.password>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<changeLogFile>org/quartz/impl/jdbcjobstore/liquibase.quartz.init.xml</changeLogFile>
<driver>com.mysql.cj.jdbc.Driver</driver>
<url>${liquibase.url}</url>
<username>${liquibase.username}</username>
<password>${liquibase.password}</password>
</configuration>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>update</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>postgres-test</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<property name="blob_type" value="BYTEA" dbms="postgresql"/>
<property name="blob_type" value="BLOB"/>

<changeSet id="quartz-init" author="nasazh">
<changeSet id="quartz-init" author="quartz">

<createTable tableName="${table_prefix}LOCKS">
<column name="SCHED_NAME" type="VARCHAR(120)">
Expand Down

0 comments on commit d56e1d0

Please sign in to comment.