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