mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
16 lines
370 B
Ruby
16 lines
370 B
Ruby
class CreateICalendarEvents < ActiveRecord::Migration
|
|
def change
|
|
create_table :i_calendar_events do |t|
|
|
t.string :uid
|
|
t.datetime :dtstart
|
|
t.datetime :dtend
|
|
t.string :summary
|
|
t.string :description
|
|
t.string :attendee
|
|
t.belongs_to :i_calendar, index: true, foreign_key: true
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|