Contact - Registrar relation

This commit is contained in:
Andres Keskküla 2014-10-07 16:14:36 +03:00
parent 9519538744
commit 3d652bf85b
11 changed files with 90 additions and 16 deletions

View file

@ -0,0 +1,5 @@
class AddRegistrarToContacts < ActiveRecord::Migration
def change
add_column :contacts, :registrar_id, :integer
end
end

View file

@ -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|