mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Create nameservers cache
This commit is contained in:
parent
4caa0ef903
commit
e695a6e628
8 changed files with 104 additions and 31 deletions
23
db/schema.rb
23
db/schema.rb
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20141114130737) do
|
||||
ActiveRecord::Schema.define(version: 20141125111414) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -39,6 +39,14 @@ ActiveRecord::Schema.define(version: 20141114130737) do
|
|||
t.string "street3"
|
||||
end
|
||||
|
||||
create_table "cached_nameservers", id: false, force: true do |t|
|
||||
t.string "hostname"
|
||||
t.string "ipv4"
|
||||
t.string "ipv6"
|
||||
end
|
||||
|
||||
add_index "cached_nameservers", ["hostname", "ipv4", "ipv6"], name: "index_cached_nameservers_on_hostname_and_ipv4_and_ipv6", unique: true, using: :btree
|
||||
|
||||
create_table "contact_disclosures", force: true do |t|
|
||||
t.integer "contact_id"
|
||||
t.boolean "int_name", default: false
|
||||
|
@ -335,4 +343,17 @@ ActiveRecord::Schema.define(version: 20141114130737) do
|
|||
|
||||
add_index "versions", ["item_type", "item_id"], name: "index_versions_on_item_type_and_item_id", using: :btree
|
||||
|
||||
create_table "zonefile_settings", force: true do |t|
|
||||
t.string "origin"
|
||||
t.integer "ttl"
|
||||
t.integer "refresh"
|
||||
t.integer "retry"
|
||||
t.integer "expire"
|
||||
t.integer "minimum_ttl"
|
||||
t.string "email"
|
||||
t.string "master_nameserver"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue