Merge pull request #404 from foodcoop1040/ordergroup_break

Add break to ordergroup
This commit is contained in:
wvengen 2016-03-11 13:48:57 +01:00
commit b067808937
7 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,6 @@
class AddBreakToGroup < ActiveRecord::Migration
def change
add_column :groups, :break_start, :date
add_column :groups, :break_end, :date
end
end

View file

@ -141,6 +141,8 @@ ActiveRecord::Schema.define(version: 20160224201529) do
t.integer "next_weekly_tasks_number", limit: 4, default: 8
t.boolean "ignore_apple_restriction", default: false
t.boolean "role_invoices", default: false, null: false
t.date "break_start"
t.date "break_end"
end
add_index "groups", ["name"], name: "index_groups_on_name", unique: true, using: :btree