diff options
| author | Luc Donnet | 2017-12-15 10:11:17 +0100 |
|---|---|---|
| committer | Luc Donnet | 2017-12-21 13:54:07 +0100 |
| commit | 0cf1d52d1dfc83fe304c7f3b7f7e1114ade28c11 (patch) | |
| tree | 07cc76b653c49c28d9a3aed19619d728f22fa560 /db/migrate | |
| parent | 8af4523f211519035d47e003c0eee4291dd2459d (diff) | |
| download | chouette-core-0cf1d52d1dfc83fe304c7f3b7f7e1114ade28c11.tar.bz2 | |
Fix migrations, locales, view and exclude calendar timetable in concern Refs #5301
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20171214131755_create_business_calendars.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/db/migrate/20171214131755_create_business_calendars.rb b/db/migrate/20171214131755_create_business_calendars.rb index 5bb3db9d3..aa7c1ab12 100644 --- a/db/migrate/20171214131755_create_business_calendars.rb +++ b/db/migrate/20171214131755_create_business_calendars.rb @@ -4,8 +4,9 @@ class CreateBusinessCalendars < ActiveRecord::Migration t.string :name t.string :short_name t.string :color - t.date :dates - t.daterange :date_ranges + t.daterange :date_ranges, array: true + t.date :dates, array: true + t.belongs_to :organisation, index: true t.timestamps null: false end |
