mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
18 lines
479 B
Ruby
18 lines
479 B
Ruby
# frozen_string_literal: true
|
|
|
|
# From this migration, we store URL to iCalendar files and a piece of configuration about them.
|
|
# This allows to display the events of these external calendars in Fab-manager
|
|
class CreateICalendars < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :i_calendars do |t|
|
|
t.string :url
|
|
t.string :name
|
|
t.string :color
|
|
t.string :text_color
|
|
t.boolean :text_hidden
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|