aboutsummaryrefslogtreecommitdiff
path: root/migrations/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/mysql')
-rw-r--r--migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql1
-rw-r--r--migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql
new file mode 100644
index 00000000..dd0394ee
--- /dev/null
+++ b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql
@@ -0,0 +1 @@
+ALTER TABLE `twofactor_incomplete` DROP COLUMN `device_type`;
diff --git a/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql
new file mode 100644
index 00000000..423e16c1
--- /dev/null
+++ b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql
@@ -0,0 +1 @@
+ALTER TABLE `twofactor_incomplete` ADD COLUMN `device_type` INTEGER NOT NULL;