Added duration to tasks. Annotated all models.

This commit is contained in:
benni 2011-05-07 20:50:39 +02:00
parent face58ebef
commit dcd2a514a6
30 changed files with 494 additions and 431 deletions

View file

@ -1,30 +1,3 @@
# == 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)
#
# Groups organize the User.
# A Member gets the roles from the Group
class Group < ActiveRecord::Base
@ -67,3 +40,32 @@ class Group < ActiveRecord::Base
end
end
# == 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(8, 2) default(0.0), not null
# account_updated :datetime
# created_on :datetime not null
# role_admin :boolean default(FALSE), not null
# role_suppliers :boolean default(FALSE), not null
# role_article_meta :boolean default(FALSE), not null
# role_finance :boolean default(FALSE), not null
# role_orders :boolean default(FALSE), not null
# weekly_task :boolean default(FALSE)
# 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)
# stats :text
#