summaryrefslogtreecommitdiff
path: root/db/migrate/20181116141415_add_encrypted_runners_token_to_namespaces.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20181116141415_add_encrypted_runners_token_to_namespaces.rb')
-rw-r--r--db/migrate/20181116141415_add_encrypted_runners_token_to_namespaces.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20181116141415_add_encrypted_runners_token_to_namespaces.rb b/db/migrate/20181116141415_add_encrypted_runners_token_to_namespaces.rb
new file mode 100644
index 00000000000..b92b1b50218
--- /dev/null
+++ b/db/migrate/20181116141415_add_encrypted_runners_token_to_namespaces.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class AddEncryptedRunnersTokenToNamespaces < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :namespaces, :runners_token_encrypted, :string
+ end
+end