Schedules!
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user