summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/db/migration/mariadb/V0_16_1_1__FollowUpCount.sql2
-rw-r--r--src/main/resources/db/migration/postgresql/V0_16_1_1__FollowUpCount.sql2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/db/migration/mariadb/V0_16_1_1__FollowUpCount.sql b/src/main/resources/db/migration/mariadb/V0_16_1_1__FollowUpCount.sql
new file mode 100644
index 0000000..a0a1fda
--- /dev/null
+++ b/src/main/resources/db/migration/mariadb/V0_16_1_1__FollowUpCount.sql
@@ -0,0 +1,2 @@
+ALTER TABLE request ADD COLUMN followup_count int DEFAULT 0;
+UPDATE request SET followup_count = -1; \ No newline at end of file
diff --git a/src/main/resources/db/migration/postgresql/V0_16_1_1__FollowUpCount.sql b/src/main/resources/db/migration/postgresql/V0_16_1_1__FollowUpCount.sql
new file mode 100644
index 0000000..a0a1fda
--- /dev/null
+++ b/src/main/resources/db/migration/postgresql/V0_16_1_1__FollowUpCount.sql
@@ -0,0 +1,2 @@
+ALTER TABLE request ADD COLUMN followup_count int DEFAULT 0;
+UPDATE request SET followup_count = -1; \ No newline at end of file