Workshop and event scaffolds
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class CreateWorkshopFacilitators < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :workshop_facilitators do |t|
|
||||
t.integer :user_id
|
||||
t.integer :workshop_id
|
||||
t.string :role
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
class CreateWorkshopRequestedResources < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :workshop_requested_resources do |t|
|
||||
t.integer :workshop_id
|
||||
t.integer :workshop_resource_id
|
||||
t.string :status
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
class CreateEventTypes < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :event_types do |t|
|
||||
t.string :slug
|
||||
t.text :info
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
class CreateEvents < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :events do |t|
|
||||
t.string :title
|
||||
t.string :slug
|
||||
t.integer :event_type_id
|
||||
t.conference_id :conference
|
||||
t.text :info
|
||||
t.location_id :location
|
||||
t.datetime :start_time
|
||||
t.datetime :end_time
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user