You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ju...@apache.org on 2019/10/16 20:03:45 UTC

[fineract-cn-template] 32/45: Fixed Flyway migration scripts

This is an automated email from the ASF dual-hosted git repository.

juhan pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-template.git

commit 09f93de68812aa9c5fca73c697bf9a27c776abb5
Author: Isaac Kamga <u2...@gmail.com>
AuthorDate: Thu May 2 03:25:35 2019 +0100

    Fixed Flyway migration scripts
---
 service/src/main/resources/application.yml                              | 1 -
 .../src/main/resources/db/migrations/postgresql/V1__initial_setup.sql   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml
index b987018..6123bd6 100644
--- a/service/src/main/resources/application.yml
+++ b/service/src/main/resources/application.yml
@@ -25,7 +25,6 @@ spring:
       enabled: false
   datasource:
     driver-class-name: org.postgresql.Driver
-    platform: postgres
     url: jdbc:postgresql://localhost:5432/seshat
     username: postgres
     password: postgres
diff --git a/service/src/main/resources/db/migrations/postgresql/V1__initial_setup.sql b/service/src/main/resources/db/migrations/postgresql/V1__initial_setup.sql
index 8e4ba15..d45736c 100644
--- a/service/src/main/resources/db/migrations/postgresql/V1__initial_setup.sql
+++ b/service/src/main/resources/db/migrations/postgresql/V1__initial_setup.sql
@@ -18,7 +18,7 @@
 --
 
 CREATE TABLE template_samples (
-  id BIGINT NOT NULL AUTO_INCREMENT,
+  id BIGINT NOT NULL,
   identifier VARCHAR(8) NOT NULL,
   payload VARCHAR(512) NULL,
   CONSTRAINT template_samples_pk PRIMARY KEY (id)