diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-01-14 20:59:35 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-01-22 20:30:43 +0300 |
commit | cfe65a0d3ef23987fbdf21d3a907b1d2980c1f93 (patch) | |
tree | e4293def55379241de86dbfab2756e1ae72ff9de /db/migrate/20190114172110_add_domain_to_cluster.rb | |
parent | 037fddad52e0e74c155da524663e11dd94de0394 (diff) |
Add domain field into Clusters::Cluster
This is the 1st step for moving Auto DevOps domain into cluster
settings, whether is project or group.
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
Diffstat (limited to 'db/migrate/20190114172110_add_domain_to_cluster.rb')
-rw-r--r-- | db/migrate/20190114172110_add_domain_to_cluster.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20190114172110_add_domain_to_cluster.rb b/db/migrate/20190114172110_add_domain_to_cluster.rb new file mode 100644 index 00000000000..58d7664b8c0 --- /dev/null +++ b/db/migrate/20190114172110_add_domain_to_cluster.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddDomainToCluster < ActiveRecord::Migration[5.0] + DOWNTIME = false + + def change + add_column :clusters, :domain, :string + end +end |