Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-22 21:28:10 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-01-22 21:28:32 +0300
commit28fd7b6c5df43b2f29557e813055deb438791c67 (patch)
treec53d4ef6298709cf36f6ac0fa12ea6a90a25d2db /db/migrate/20180122162010_add_auto_devops_domain_to_application_settings.rb
parentb871764787068ce13fa03475e3f1d1a739cdc1b6 (diff)
Add auto_devops_domain to ApplicationSettings model
Diffstat (limited to 'db/migrate/20180122162010_add_auto_devops_domain_to_application_settings.rb')
-rw-r--r--db/migrate/20180122162010_add_auto_devops_domain_to_application_settings.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20180122162010_add_auto_devops_domain_to_application_settings.rb b/db/migrate/20180122162010_add_auto_devops_domain_to_application_settings.rb
new file mode 100644
index 00000000000..7e16cb83087
--- /dev/null
+++ b/db/migrate/20180122162010_add_auto_devops_domain_to_application_settings.rb
@@ -0,0 +1,13 @@
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddAutoDevopsDomainToApplicationSettings < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ # Set this constant to true if this migration requires downtime.
+ DOWNTIME = false
+
+ def change
+ add_column :application_settings, :auto_devops_domain, :string
+ end
+end