Schedules!

This commit is contained in:
Godwin
2015-09-26 20:05:55 -07:00
parent 34e72144cc
commit bc80c09938
82 changed files with 1669 additions and 268 deletions
@@ -0,0 +1,14 @@
class CreateEventLocations < ActiveRecord::Migration
def change
create_table :event_locations do |t|
t.string :title
t.integer :conference_id
t.float :latitude
t.float :longitude
t.string :address
t.string :amenities
t.timestamps null: false
end
end
end
@@ -0,0 +1,5 @@
class AddEventLocationIdToWorkshops < ActiveRecord::Migration
def change
add_column :workshops, :event_location_id, :integer
end
end
@@ -0,0 +1,5 @@
class AddEventLocationIdToEvents < ActiveRecord::Migration
def change
add_column :events, :event_location_id, :integer
end
end
@@ -0,0 +1,5 @@
class AddTypeToEvents < ActiveRecord::Migration
def change
add_column :events, :event_type, :string
end
end
@@ -0,0 +1,5 @@
class AddDayPartsToConferences < ActiveRecord::Migration
def change
add_column :conferences, :day_parts, :string
end
end