Browse Source

added name to locations

pull/704/head
JG 3 years ago
parent
commit
a550728139
  1. 5
      db/migrate/20220630114748_add_name_to_locations.rb
  2. 1
      db/schema.rb

5
db/migrate/20220630114748_add_name_to_locations.rb

@ -0,0 +1,5 @@
class AddNameToLocations < ActiveRecord::Migration[7.0]
def change
add_column :locations, :name, :string
end
end

1
db/schema.rb

@ -247,6 +247,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_07_04_135746) do
t.string "county"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "name"
t.index ["scheme_id"], name: "index_locations_on_scheme_id"
end

Loading…
Cancel
Save