From 749846f99a4475262586cf028df3e817718116c7 Mon Sep 17 00:00:00 2001
From: Thomah <5090230+Thomah@users.noreply.github.com>
Date: Mon, 3 Apr 2023 15:20:05 +0200
Subject: [PATCH] fix: change column 'variables' of notifications to text type
---
pom-cluecumber.xml | 2 +-
pom.xml | 2 +-
src/main/resources/db/changelog/db.changelog-0.16.sql | 4 ++++
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pom-cluecumber.xml b/pom-cluecumber.xml
index 3e9a06b..c38b145 100644
--- a/pom-cluecumber.xml
+++ b/pom-cluecumber.xml
@@ -10,7 +10,7 @@
fr.les-projets-cagnottes
core
- 0.16.2
+ 0.16.3
Les Projets Cagnottes - Core
Les Projets Cagnottes - Main API Component
diff --git a/pom.xml b/pom.xml
index 620d128..ff07838 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
fr.les-projets-cagnottes
core
- 0.16.2
+ 0.16.3
Les Projets Cagnottes - Core
Les Projets Cagnottes - Main API Component
diff --git a/src/main/resources/db/changelog/db.changelog-0.16.sql b/src/main/resources/db/changelog/db.changelog-0.16.sql
index 91ae097..f0dd5e1 100644
--- a/src/main/resources/db/changelog/db.changelog-0.16.sql
+++ b/src/main/resources/db/changelog/db.changelog-0.16.sql
@@ -5,3 +5,7 @@ ALTER TABLE projects
ADD last_status_update timestamp without time zone DEFAULT now();
UPDATE projects SET last_status_update = updated_at;
--rollback alter table projects drop column last_status_update;
+
+--changeset lesprojetscagnottes:change-notifications-variables-type
+ALTER TABLE notifications ALTER COLUMN variables TYPE text;
+--rollback alter table notifications alter column variables type varchar(255);