diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-09 20:06:55 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-02-01 01:53:57 +0300 |
commit | 5f7257c27dace1dcb9d3eb4732caf68f061a8d68 (patch) | |
tree | a00cfa51f1aa44ae3592d49c3232795d21d3fae4 /db | |
parent | c4c8ca04052aaf7d37c2335066381b536df68427 (diff) |
Initial work on GitLab Pages update
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb | 10 |
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 |