You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ik...@apache.org on 2019/09/02 22:39:56 UTC

[fineract-cn-template] 36/38: Enabling database-level sequence generation with pseudotypes

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

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

commit 5aece2ef15e2a634ae6bf1b71ad6fb0590bfb14e
Author: ebenezergraham <eg...@alustudent.com>
AuthorDate: Sun Jul 14 06:33:05 2019 +0400

    Enabling database-level sequence generation with pseudotypes
---
 .gitignore                                                             | 3 ++-
 .../src/main/resources/db/migrations/postgresql/V1__initial_setup.sql  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index f9d7cba..554b089 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,8 @@
 .idea
 build/
 target/
-
+**/out
+**/build
 # Ignore Gradle GUI config
 gradle-app.setting
 
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 d45736c..2598274 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,
+  id BIGSERIAL,
   identifier VARCHAR(8) NOT NULL,
   payload VARCHAR(512) NULL,
   CONSTRAINT template_samples_pk PRIMARY KEY (id)