diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-09 19:04:39 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-01-31 22:53:57 +0000 |
commit | 930a7030b5a0080128b2fe3e2b9506717c54a6a5 (patch) | |
tree | 52c998612b54ce45c87b6731a8b23f85a59d5b7d /db/migrate | |
parent | 5f7257c27dace1dcb9d3eb4732caf68f061a8d68 (diff) | |
download | gitlab-ce-930a7030b5a0080128b2fe3e2b9506717c54a6a5.tar.gz |
Implement proper verification of certificate's public_key against the private_key
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb | 6 |
1 files changed, 3 insertions, 3 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 index 6472199fc4a..13b42d18a7a 100644 --- a/db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb +++ b/db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb @@ -1,9 +1,9 @@ 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, :encrypted_pages_custom_certificate_key, :text + add_column :projects, :encrypted_pages_custom_certificate_key_iv, :string + add_column :projects, :encrypted_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 |