foodsoft/test/fixtures/groups.yml

46 lines
1.5 KiB
YAML
Raw Normal View History

# == Schema Information
#
# Table name: groups
#
# id :integer not null, primary key
# type :string(255) default(""), not null
# name :string(255) default(""), not null
# description :string(255)
# account_balance :decimal(, ) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean not null
# role_suppliers :boolean not null
# role_article_meta :boolean not null
# role_finance :boolean not null
# role_orders :boolean not null
# weekly_task :boolean
# weekday :integer
# task_name :string(255)
# task_description :string(255)
# task_required_users :integer default(1)
# deleted_at :datetime
# contact_person :string(255)
# contact_phone :string(255)
# contact_address :string(255)
#
2009-01-06 11:49:19 +01:00
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
admins:
type: Workgroup
2009-01-06 11:49:19 +01:00
name: Administrators
description: System administrators.
role_admin: true
role_suppliers: true
role_article_meta: true
role_finance: true
role_orders: true
bananas:
type: Ordergroup
name: Banangroup
account_balance: 100.00
account_updated: <%= 1.weeks.ago.to_s(:db) %>
contact_person: Tim
contact_phone: 030 123132456
contact_address: Waldermarstrasse 43, 10988 Berlin