remove letsencrypt including migration
This commit is contained in:
@ -1,21 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# :nodoc:
|
||||
class CreateLetsencryptCertificates < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :letsencrypt_certificates do |t|
|
||||
t.string :domain
|
||||
t.text :certificate, limit: 65535
|
||||
t.text :intermediaries, limit: 65535
|
||||
t.text :key, limit: 65535
|
||||
t.datetime :expires_at
|
||||
t.datetime :renew_after
|
||||
t.string :verification_path
|
||||
t.string :verification_string
|
||||
|
||||
t.index :domain
|
||||
t.index :renew_after
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
17
db/schema.rb
generated
17
db/schema.rb
generated
@ -10,23 +10,8 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2022_04_09_143030) do
|
||||
ActiveRecord::Schema[7.0].define(version: 0) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
create_table "letsencrypt_certificates", force: :cascade do |t|
|
||||
t.string "domain"
|
||||
t.text "certificate"
|
||||
t.text "intermediaries"
|
||||
t.text "key"
|
||||
t.datetime "expires_at"
|
||||
t.datetime "renew_after"
|
||||
t.string "verification_path"
|
||||
t.string "verification_string"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["domain"], name: "index_letsencrypt_certificates_on_domain"
|
||||
t.index ["renew_after"], name: "index_letsencrypt_certificates_on_renew_after"
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user