Adding gmaps
This commit is contained in:
7
db/migrate/20131009103919_add_lat_long_gmap_to_spaces.rb
Normal file
7
db/migrate/20131009103919_add_lat_long_gmap_to_spaces.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddLatLongGmapToSpaces < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :spaces, :latitude, :float
|
||||
add_column :spaces, :longitude, :float
|
||||
add_column :spaces, :gmaps, :boolean
|
||||
end
|
||||
end
|
||||
6
db/migrate/20131009120246_add_city_state_to_spaces.rb
Normal file
6
db/migrate/20131009120246_add_city_state_to_spaces.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddCityStateToSpaces < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :spaces, :city, :string
|
||||
add_column :spaces, :state, :string
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user