mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
31 lines
803 B
Ruby
31 lines
803 B
Ruby
class CreateEventsTable < ActiveRecord::Migration
|
|
def up
|
|
create_table :events do |t|
|
|
t.string :guid, null: false
|
|
t.references :conference
|
|
t.references :event_type
|
|
t.string :title, null: false
|
|
t.string :subtitle
|
|
t.integer :time_slots
|
|
t.string :state, null: false, default: 'new'
|
|
t.string :progress, null: false, default: 'new'
|
|
t.string :language
|
|
t.datetime :start_time
|
|
t.text :abstract
|
|
t.text :description
|
|
t.boolean :public, default: true
|
|
t.string :logo_file_name
|
|
t.string :logo_content_type
|
|
t.integer :logo_file_size
|
|
t.datetime :logo_updated_at
|
|
t.text :proposal_additional_speakers
|
|
t.references :track
|
|
t.references :room
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|