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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-10 14:07:46 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-02-01 01:53:57 +0300
commit6e99226cca41f36d92c4ccb2cd398d2256091adc (patch)
treefc3cc5262537f33d46b2407970a6a7b6a5cef69d /db/migrate/20160210105555_create_pages_domain.rb
parentf034f6b3ec5dc8b72f43c954ddb34bae037be254 (diff)
Added PagesDomain
Diffstat (limited to 'db/migrate/20160210105555_create_pages_domain.rb')
-rw-r--r--db/migrate/20160210105555_create_pages_domain.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20160210105555_create_pages_domain.rb b/db/migrate/20160210105555_create_pages_domain.rb
new file mode 100644
index 00000000000..9af206143bd
--- /dev/null
+++ b/db/migrate/20160210105555_create_pages_domain.rb
@@ -0,0 +1,14 @@
+class CreatePagesDomain < ActiveRecord::Migration
+ def change
+ create_table :pages_domains do |t|
+ t.integer :project_id
+ t.text :certificate
+ t.text :encrypted_key
+ t.string :encrypted_key_iv
+ t.string :encrypted_key_salt
+ t.string :domain
+ end
+
+ add_index :pages_domains, :domain, unique: true
+ end
+end