Merge pull request #681 from sanketmeghani/master

Add a second migration to demonstrate Flyway
This commit is contained in:
Zeger Hendrikse 2016-09-16 18:34:42 +02:00 committed by GitHub
commit 2850f94933
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS `department` (
`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
`name` varchar(20)
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;
ALTER TABLE `employee` ADD `dept_id` int AFTER `email`;

View File

@ -23,6 +23,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>