Repository: incubator-fineract
Updated Branches:
  refs/heads/0.1.2-incubating [created] acd99b261


Adding driver property to flyway db migration tasks


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/acd99b26
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/acd99b26
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/acd99b26

Branch: refs/heads/0.1.2-incubating
Commit: acd99b261dfff1fbf124e5d139871197c0311565
Parents: 2317ff4
Author: Nazeer Hussain Shaik <[email protected]>
Authored: Fri May 6 11:30:35 2016 +0530
Committer: Nazeer Hussain Shaik <[email protected]>
Committed: Fri May 6 11:30:35 2016 +0530

----------------------------------------------------------------------
 fineract-provider/build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/acd99b26/fineract-provider/build.gradle
----------------------------------------------------------------------
diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index d104a1f..dc6cc53 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -242,6 +242,7 @@ buildscript {
 
 flyway {
     url = "jdbc:mysql:thin://localhost:3306/mifostenant-default"
+       driver = "org.drizzle.jdbc.DrizzleDriver"
     user = mysqlUser
     password = mysqlPassword
 }
@@ -256,6 +257,7 @@ task migrateTenantDB<<{
        }
        
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     /**We use ${ as the prefix for strecthy reporting, do not want them to be 
interpreted by Flyway**/
     flyway.placeholderPrefix = "\$\${"
@@ -272,6 +274,7 @@ task showTenantDBInfo<<{
        }
        
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     flywayInfo.execute()
 }
@@ -287,6 +290,7 @@ task migrateTenantListDB<<{
        }
        
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantsDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
 
     flywayMigrate.execute()
@@ -302,6 +306,7 @@ task showTenantListDBInfo<<{
        }
     
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantsDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     flywayInfo.execute()
 }
@@ -316,6 +321,7 @@ task repairTenantDB<<{
     }
     
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantsDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     flywayRepair.execute()
 }

Reply via email to