Skip to content

Commit

Permalink
fix: change column 'variables' of notifications to text type
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomah committed Apr 3, 2023
1 parent 8316d50 commit 749846f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom-cluecumber.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>fr.les-projets-cagnottes</groupId>
<artifactId>core</artifactId>
<version>0.16.2</version>
<version>0.16.3</version>
<name>Les Projets Cagnottes - Core</name>
<description>Les Projets Cagnottes - Main API Component</description>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>fr.les-projets-cagnottes</groupId>
<artifactId>core</artifactId>
<version>0.16.2</version>
<version>0.16.3</version>
<name>Les Projets Cagnottes - Core</name>
<description>Les Projets Cagnottes - Main API Component</description>
<properties>
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/db/changelog/db.changelog-0.16.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 749846f

Please sign in to comment.