Skip to content

Commit 04590ce

Browse files
committed
Added points of interest to locations
1 parent 5b0892d commit 04590ce

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddPointsOfInterestToTeamsLocations < ActiveRecord::Migration
2+
def change
3+
add_column :teams_locations, :points_of_interest, :string, array: true, default: []
4+
end
5+
end

db/schema.rb

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# It's strongly recommended to check this file into your version control system.
1313

14-
ActiveRecord::Schema.define(:version => 20141015182230) do
14+
ActiveRecord::Schema.define(:version => 20141111082038) do
1515

1616
add_extension "citext"
1717
add_extension "hstore"
@@ -458,9 +458,10 @@
458458
t.string "city"
459459
t.string "state_code"
460460
t.string "country"
461-
t.integer "team_id", :null => false
462-
t.datetime "created_at", :null => false
463-
t.datetime "updated_at", :null => false
461+
t.integer "team_id", :null => false
462+
t.datetime "created_at", :null => false
463+
t.datetime "updated_at", :null => false
464+
t.string "points_of_interest", :default => [], :array => true
464465
end
465466

466467
create_table "teams_members", :force => true do |t|

0 commit comments

Comments
 (0)