aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorZog2018-01-24 07:28:57 +0100
committercedricnjanga2018-02-06 11:06:08 -0800
commit57d1749d53f0ad8fc26f67b42b2b207bf0ab06ad (patch)
tree1254efe74696d76a2f612bdaca450304cb9efcd6 /db
parenta477a97347792540426aad79b1709dbb12aeb3c2 (diff)
downloadchouette-core-57d1749d53f0ad8fc26f67b42b2b207bf0ab06ad.tar.bz2
Refs #5682; Add application_days field to calendars
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180124061955_add_int_day_types_to_calendars.rb5
-rw-r--r--db/schema.rb5
2 files changed, 6 insertions, 4 deletions
diff --git a/db/migrate/20180124061955_add_int_day_types_to_calendars.rb b/db/migrate/20180124061955_add_int_day_types_to_calendars.rb
new file mode 100644
index 000000000..6384c7177
--- /dev/null
+++ b/db/migrate/20180124061955_add_int_day_types_to_calendars.rb
@@ -0,0 +1,5 @@
+class AddIntDayTypesToCalendars < ActiveRecord::Migration
+ def change
+ add_column :calendars, :int_day_types, :integer, default: 0
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 9be702fa3..614d9803e 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,11 +11,8 @@
#
# It's strongly recommended that you check this file into your version control system.
-<<<<<<< HEAD
-ActiveRecord::Schema.define(version: 20180123174450) do
-=======
+
ActiveRecord::Schema.define(version: 20180126134944) do
->>>>>>> Refs #5750 @1h; Add a "kind" attribute to StopAreas
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"