summaryrefslogtreecommitdiff
path: root/db/migrate/20220204193000_add_integrations_encrypted_properties.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20220204193000_add_integrations_encrypted_properties.rb')
-rw-r--r--db/migrate/20220204193000_add_integrations_encrypted_properties.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20220204193000_add_integrations_encrypted_properties.rb b/db/migrate/20220204193000_add_integrations_encrypted_properties.rb
new file mode 100644
index 00000000000..7df88b68657
--- /dev/null
+++ b/db/migrate/20220204193000_add_integrations_encrypted_properties.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+class AddIntegrationsEncryptedProperties < Gitlab::Database::Migration[1.0]
+ def change
+ add_column :integrations, :encrypted_properties, :binary
+ add_column :integrations, :encrypted_properties_iv, :binary
+ end
+end