From 9dc0c05a6b2e1d0a67cdb94452b4dbf65febcb37 Mon Sep 17 00:00:00 2001 From: sanketmeghani Date: Tue, 30 Aug 2016 19:49:49 +0530 Subject: [PATCH] Adding sample migration file --- .../db/migration/V1_0__create_employee_schema.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 flyway-migration/db/migration/V1_0__create_employee_schema.sql diff --git a/flyway-migration/db/migration/V1_0__create_employee_schema.sql b/flyway-migration/db/migration/V1_0__create_employee_schema.sql new file mode 100644 index 0000000000..09408faecb --- /dev/null +++ b/flyway-migration/db/migration/V1_0__create_employee_schema.sql @@ -0,0 +1,8 @@ +CREATE TABLE IF NOT EXISTS `employee` ( + +`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, +`name` varchar(20), +`email` varchar(50), +`date_of_birth` timestamp + +)ENGINE=InnoDB DEFAULT CHARSET=UTF8; \ No newline at end of file