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:
Diffstat (limited to 'db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb')
-rw-r--r--db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb b/db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb
new file mode 100644
index 00000000000..6472199fc4a
--- /dev/null
+++ b/db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb
@@ -0,0 +1,10 @@
+class AddPagesCustomDomainToProjects < ActiveRecord::Migration
+ def change
+ add_column :projects, :pages_custom_certificate, :text
+ add_column :projects, :pages_custom_certificate_key, :text
+ add_column :projects, :pages_custom_certificate_key_iv, :string
+ add_column :projects, :pages_custom_certificate_key_salt, :string
+ add_column :projects, :pages_custom_domain, :string, unique: true
+ add_column :projects, :pages_redirect_http, :boolean, default: false, null: false
+ end
+end