mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Add CN support to certificates
This commit is contained in:
parent
e2809cc285
commit
9ad66c0999
12 changed files with 144 additions and 133 deletions
7
db/migrate/20150521120145_add_fields_for_certificate.rb
Normal file
7
db/migrate/20150521120145_add_fields_for_certificate.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class AddFieldsForCertificate < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :certificates, :common_name, :string
|
||||
add_column :certificates, :md5, :string
|
||||
add_column :certificates, :interface, :string
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150520164507) do
|
||||
ActiveRecord::Schema.define(version: 20150521120145) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -147,6 +147,9 @@ ActiveRecord::Schema.define(version: 20150520164507) do
|
|||
t.string "updator_str"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "common_name"
|
||||
t.string "md5"
|
||||
t.string "interface"
|
||||
end
|
||||
|
||||
add_index "certificates", ["api_user_id"], name: "index_certificates_on_api_user_id", using: :btree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue