Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20231123160255_add_token_to_chat_names.rb')
-rw-r--r--db/migrate/20231123160255_add_token_to_chat_names.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20231123160255_add_token_to_chat_names.rb b/db/migrate/20231123160255_add_token_to_chat_names.rb
new file mode 100644
index 00000000000..f35a6b812f3
--- /dev/null
+++ b/db/migrate/20231123160255_add_token_to_chat_names.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+class AddTokenToChatNames < Gitlab::Database::Migration[2.2]
+ enable_lock_retries!
+
+ milestone '16.7'
+
+ def change
+ add_column :chat_names, :encrypted_token, :binary
+ add_column :chat_names, :encrypted_token_iv, :binary
+ end
+end