diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 13:03:45 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 13:03:45 -0700 |
| commit | d363dc6298e8210fb3a5eddea8a6916a54005290 (patch) | |
| tree | d722fbe64f53cfa4f05312e7444f007bb30c15f2 /db/schema.rb | |
| parent | d62b19c584862b3c54559348475a93fffd985e7f (diff) | |
switch from has_one to belongs_to relationship.
Diffstat (limited to 'db/schema.rb')
| -rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index f102db8..b397f77 100644 --- a/db/schema.rb +++ b/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: 20140222145409) do +ActiveRecord::Schema.define(version: 20140222194718) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -32,10 +32,10 @@ ActiveRecord::Schema.define(version: 20140222145409) do t.boolean "confidential", default: false t.integer "well_type_id" t.uuid "user_id" + t.uuid "location_id" end create_table "locations", id: :uuid, default: "uuid_generate_v4()", force: true do |t| - t.uuid "license_id" t.float "latitude" t.float "longitude" t.string "township" |
