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