summaryrefslogtreecommitdiff
path: root/db/migrate/20190429082448_create_pages_domain_acme_orders.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190429082448_create_pages_domain_acme_orders.rb')
-rw-r--r--db/migrate/20190429082448_create_pages_domain_acme_orders.rb32
1 files changed, 0 insertions, 32 deletions
diff --git a/db/migrate/20190429082448_create_pages_domain_acme_orders.rb b/db/migrate/20190429082448_create_pages_domain_acme_orders.rb
deleted file mode 100644
index 75636031193..00000000000
--- a/db/migrate/20190429082448_create_pages_domain_acme_orders.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-# See http://doc.gitlab.com/ce/development/migration_style_guide.html
-# for more information on how to write migrations for GitLab.
-
-class CreatePagesDomainAcmeOrders < ActiveRecord::Migration[5.1]
- include Gitlab::Database::MigrationHelpers
-
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- # rubocop:disable Migration/PreventStrings
- # rubocop:disable Migration/AddLimitToTextColumns
- def change
- create_table :pages_domain_acme_orders do |t|
- t.references :pages_domain, null: false, index: true, foreign_key: { on_delete: :cascade }, type: :integer
-
- t.datetime_with_timezone :expires_at, null: false
- t.timestamps_with_timezone null: false
-
- t.string :url, null: false
-
- t.string :challenge_token, null: false, index: true
- t.text :challenge_file_content, null: false
-
- t.text :encrypted_private_key, null: false
- t.text :encrypted_private_key_iv, null: false
- end
- end
- # rubocop:enable Migration/AddLimitToTextColumns
- # rubocop:enable Migration/PreventStrings
-end