From 13c1c6b6b6782bd8c5c7c77f1679b7daa73e9cb8 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Mon, 22 Oct 2018 16:37:39 +0200
Subject: [PATCH] rename project primary key sequence sequence

---
 .../12.2.0~alpha.0/V12.2.0.20181018__table_naming_strategy.sql | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/persist/src/main/resources/db/migration/12.2.0~alpha.0/V12.2.0.20181018__table_naming_strategy.sql b/persist/src/main/resources/db/migration/12.2.0~alpha.0/V12.2.0.20181018__table_naming_strategy.sql
index 0f05e6aeb8..f753bec8d0 100644
--- a/persist/src/main/resources/db/migration/12.2.0~alpha.0/V12.2.0.20181018__table_naming_strategy.sql
+++ b/persist/src/main/resources/db/migration/12.2.0~alpha.0/V12.2.0.20181018__table_naming_strategy.sql
@@ -327,3 +327,6 @@ alter table annotators_params_table rename iddb to id;
 
 -- rename structure_table
 alter table structure_table rename iddb to id;
+
+-- rename project sequence
+alter sequence project_table_iddb_seq rename to project_table_id_seq;
\ No newline at end of file
-- 
GitLab