mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Attach nameservers directly to domain
This commit is contained in:
parent
7a9988236e
commit
4396ec665c
6 changed files with 19 additions and 5 deletions
8
db/migrate/20140731081816_add_nameservers_to_domain.rb
Normal file
8
db/migrate/20140731081816_add_nameservers_to_domain.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class AddNameserversToDomain < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :domains_nameservers do |t|
|
||||
t.integer :domain_id
|
||||
t.integer :nameserver_id
|
||||
end
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20140730141443) do
|
||||
ActiveRecord::Schema.define(version: 20140731081816) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -74,6 +74,11 @@ ActiveRecord::Schema.define(version: 20140730141443) do
|
|||
t.integer "period"
|
||||
end
|
||||
|
||||
create_table "domains_nameservers", force: true do |t|
|
||||
t.integer "domain_id"
|
||||
t.integer "nameserver_id"
|
||||
end
|
||||
|
||||
create_table "epp_sessions", force: true do |t|
|
||||
t.string "session_id"
|
||||
t.text "data"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue