Merge pull request #404 from foodcoop1040/ordergroup_break
Add break to ordergroup
This commit is contained in:
commit
b067808937
7 changed files with 26 additions and 0 deletions
6
db/migrate/20160217164552_add_break_to_group.rb
Normal file
6
db/migrate/20160217164552_add_break_to_group.rb
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue