aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorZog2018-01-24 16:56:16 +0100
committercedricnjanga2018-02-06 11:10:18 -0800
commitf07802715562b31d15e31b5be90dbeac29cef227 (patch)
treef64dc33cb1bc35acaeca9261012d10516a7daf2a /db
parent5253b169da36a3de270f00038597b007035f09dd (diff)
downloadchouette-core-f07802715562b31d15e31b5be90dbeac29cef227.tar.bz2
Refs #5682 @3h; Use same UI as for timetables
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180124124215_add_excluded_dates_to_calendars.rb5
-rw-r--r--db/schema.rb1
2 files changed, 5 insertions, 1 deletions
diff --git a/db/migrate/20180124124215_add_excluded_dates_to_calendars.rb b/db/migrate/20180124124215_add_excluded_dates_to_calendars.rb
new file mode 100644
index 000000000..b98b50717
--- /dev/null
+++ b/db/migrate/20180124124215_add_excluded_dates_to_calendars.rb
@@ -0,0 +1,5 @@
+class AddExcludedDatesToCalendars < ActiveRecord::Migration
+ def change
+ add_column :calendars, :excluded_dates, :date, array: true
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 231bea9ba..b696cfc98 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,6 @@
#
# It's strongly recommended that you check this file into your version control system.
-
ActiveRecord::Schema.define(version: 20180126134944) do
# These are extensions that must be enabled in order to support this database