1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/db/migrate/20191127153729_create_i_calendars.rb
2019-11-27 17:39:19 +01:00

18 lines
474 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
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