summaryrefslogtreecommitdiff
path: root/db/migrate/20190613044655_add_username_to_deploy_tokens.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190613044655_add_username_to_deploy_tokens.rb')
-rw-r--r--db/migrate/20190613044655_add_username_to_deploy_tokens.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20190613044655_add_username_to_deploy_tokens.rb b/db/migrate/20190613044655_add_username_to_deploy_tokens.rb
new file mode 100644
index 00000000000..793553afe35
--- /dev/null
+++ b/db/migrate/20190613044655_add_username_to_deploy_tokens.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddUsernameToDeployTokens < ActiveRecord::Migration[5.1]
+ DOWNTIME = false
+
+ def change
+ add_column :deploy_tokens, :username, :string
+ end
+end