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
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-09 21:04:39 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-02-01 01:53:57 +0300
commit930a7030b5a0080128b2fe3e2b9506717c54a6a5 (patch)
tree52c998612b54ce45c87b6731a8b23f85a59d5b7d /db
parent5f7257c27dace1dcb9d3eb4732caf68f061a8d68 (diff)
Implement proper verification of certificate's public_key against the private_key
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160209125808_add_pages_custom_domain_to_projects.rb6
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