mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Contact - Registrar relation
This commit is contained in:
parent
9519538744
commit
3d652bf85b
11 changed files with 90 additions and 16 deletions
5
db/migrate/20141006130306_add_registrar_to_contacts.rb
Normal file
5
db/migrate/20141006130306_add_registrar_to_contacts.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddRegistrarToContacts < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :contacts, :registrar_id, :integer
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20141001085322) do
|
||||
ActiveRecord::Schema.define(version: 20141006130306) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -81,6 +81,7 @@ ActiveRecord::Schema.define(version: 20141001085322) do
|
|||
t.string "auth_info"
|
||||
t.string "name"
|
||||
t.string "org_name"
|
||||
t.integer "registrar_id"
|
||||
end
|
||||
|
||||
create_table "countries", force: true do |t|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue