Adding gmaps
This commit is contained in:
@@ -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
|
||||
@@ -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