Removed annoate and hirb Gemfiles.
Annotate: Better look in schema.rb, this reference should be always up to date. Hirb: To reactivate hirb, look in railscasts: http://railscasts.com/episodes/48-console-tricks-revised
This commit is contained in:
parent
af3c07f031
commit
8a74e7d77f
67 changed files with 1 additions and 1056 deletions
|
|
@ -5,12 +5,3 @@ class ArticleCategory < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: article_categories
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# name :string(255) default(""), not null
|
||||
# description :string(255)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -31,16 +31,3 @@ class ArticlePrice < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: article_prices
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# article_id :integer(4)
|
||||
# price :decimal(8, 2) default(0.0), not null
|
||||
# tax :decimal(8, 2) default(0.0), not null
|
||||
# deposit :decimal(8, 2) default(0.0), not null
|
||||
# unit_quantity :integer(4)
|
||||
# created_at :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -15,13 +15,3 @@ class Assignment < ActiveRecord::Base
|
|||
end
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: assignments
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# user_id :integer(4) default(0), not null
|
||||
# task_id :integer(4) default(0), not null
|
||||
# accepted :boolean(1) default(FALSE)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -19,14 +19,3 @@ class Delivery < ActiveRecord::Base
|
|||
end
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: deliveries
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# supplier_id :integer(4)
|
||||
# delivered_on :date
|
||||
# created_at :datetime
|
||||
# note :text
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -15,15 +15,3 @@ class FinancialTransaction < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: financial_transactions
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# ordergroup_id :integer(4) default(0), not null
|
||||
# amount :decimal(8, 2) default(0.0), not null
|
||||
# note :text default(""), not null
|
||||
# user_id :integer(4) default(0), not null
|
||||
# created_on :datetime not null
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -25,32 +25,3 @@ class Group < ActiveRecord::Base
|
|||
end
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: groups
|
||||
#
|
||||
# id :integer(4) 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(1) default(FALSE), not null
|
||||
# role_suppliers :boolean(1) default(FALSE), not null
|
||||
# role_article_meta :boolean(1) default(FALSE), not null
|
||||
# role_finance :boolean(1) default(FALSE), not null
|
||||
# role_orders :boolean(1) default(FALSE), not null
|
||||
# weekly_task :boolean(1) default(FALSE)
|
||||
# weekday :integer(4)
|
||||
# task_name :string(255)
|
||||
# task_description :string(255)
|
||||
# task_required_users :integer(4) default(1)
|
||||
# deleted_at :datetime
|
||||
# contact_person :string(255)
|
||||
# contact_phone :string(255)
|
||||
# contact_address :string(255)
|
||||
# stats :text
|
||||
# task_duration :integer(4) default(1)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -92,16 +92,3 @@ class GroupOrder < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: group_orders
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# ordergroup_id :integer(4) default(0), not null
|
||||
# order_id :integer(4) default(0), not null
|
||||
# price :decimal(8, 2) default(0.0), not null
|
||||
# lock_version :integer(4) default(0), not null
|
||||
# updated_on :datetime not null
|
||||
# updated_by_user_id :integer(4)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -181,16 +181,3 @@ class GroupOrderArticle < ActiveRecord::Base
|
|||
end
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: group_order_articles
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# group_order_id :integer(4) default(0), not null
|
||||
# order_article_id :integer(4) default(0), not null
|
||||
# quantity :integer(4) default(0), not null
|
||||
# tolerance :integer(4) default(0), not null
|
||||
# updated_on :datetime not null
|
||||
# result :decimal(8, 3)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -11,14 +11,3 @@ class GroupOrderArticleQuantity < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: group_order_article_quantities
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# group_order_article_id :integer(4) default(0), not null
|
||||
# quantity :integer(4) default(0)
|
||||
# tolerance :integer(4) default(0)
|
||||
# created_on :datetime not null
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -37,15 +37,3 @@ class Invite < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: invites
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# token :string(255) default(""), not null
|
||||
# expires_at :datetime not null
|
||||
# group_id :integer(4) default(0), not null
|
||||
# user_id :integer(4) default(0), not null
|
||||
# email :string(255) default(""), not null
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -19,22 +19,3 @@ class Invoice < ActiveRecord::Base
|
|||
end
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: invoices
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# supplier_id :integer(4)
|
||||
# delivery_id :integer(4)
|
||||
# order_id :integer(4)
|
||||
# number :string(255)
|
||||
# date :date
|
||||
# paid_on :date
|
||||
# note :text
|
||||
# amount :decimal(8, 2) default(0.0), not null
|
||||
# deposit :decimal(8, 2) default(0.0), not null
|
||||
# deposit_credit :decimal(8, 2) default(0.0), not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -16,12 +16,3 @@ class Membership < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: memberships
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# group_id :integer(4) default(0), not null
|
||||
# user_id :integer(4) default(0), not null
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -86,17 +86,3 @@ class Message < ActiveRecord::Base
|
|||
end
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: messages
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# sender_id :integer(4)
|
||||
# recipients_ids :text
|
||||
# subject :string(255) not null
|
||||
# body :text
|
||||
# email_state :integer(4) default(0), not null
|
||||
# private :boolean(1) default(FALSE)
|
||||
# created_at :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -220,18 +220,3 @@ class Order < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: orders
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# supplier_id :integer(4)
|
||||
# note :text
|
||||
# starts :datetime
|
||||
# ends :datetime
|
||||
# state :string(255) default("open")
|
||||
# lock_version :integer(4) default(0), not null
|
||||
# updated_by_user_id :integer(4)
|
||||
# foodcoop_result :decimal(8, 2)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -130,17 +130,3 @@ class OrderArticle < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: order_articles
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# order_id :integer(4) default(0), not null
|
||||
# article_id :integer(4) default(0), not null
|
||||
# quantity :integer(4) default(0), not null
|
||||
# tolerance :integer(4) default(0), not null
|
||||
# units_to_order :integer(4) default(0), not null
|
||||
# lock_version :integer(4) default(0), not null
|
||||
# article_price_id :integer(4)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -7,14 +7,3 @@ class OrderComment < ActiveRecord::Base
|
|||
validates_length_of :text, :minimum => 3
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: order_comments
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# order_id :integer(4)
|
||||
# user_id :integer(4)
|
||||
# text :text
|
||||
# created_at :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -97,32 +97,3 @@ class Ordergroup < Group
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: groups
|
||||
#
|
||||
# id :integer(4) 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(1) default(FALSE), not null
|
||||
# role_suppliers :boolean(1) default(FALSE), not null
|
||||
# role_article_meta :boolean(1) default(FALSE), not null
|
||||
# role_finance :boolean(1) default(FALSE), not null
|
||||
# role_orders :boolean(1) default(FALSE), not null
|
||||
# weekly_task :boolean(1) default(FALSE)
|
||||
# weekday :integer(4)
|
||||
# task_name :string(255)
|
||||
# task_description :string(255)
|
||||
# task_required_users :integer(4) default(1)
|
||||
# deleted_at :datetime
|
||||
# contact_person :string(255)
|
||||
# contact_phone :string(255)
|
||||
# contact_address :string(255)
|
||||
# stats :text
|
||||
# task_duration :integer(4) default(1)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -52,19 +52,3 @@ class Page < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: pages
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# title :string(255)
|
||||
# body :text
|
||||
# permalink :string(255)
|
||||
# lock_version :integer(4) default(0)
|
||||
# updated_by :integer(4)
|
||||
# redirect :integer(4)
|
||||
# parent_id :integer(4)
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -1,27 +1,3 @@
|
|||
# == Schema Information
|
||||
# Schema version: 20090102171850
|
||||
#
|
||||
# Table name: articles
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# name :string(255) not null
|
||||
# supplier_id :integer(4) not null
|
||||
# number :string(255)
|
||||
# note :string(255)
|
||||
# manufacturer :string(255)
|
||||
# origin :string(255)
|
||||
# unit :string(255)
|
||||
# price :decimal(8, 2) default(0.0), not null
|
||||
# tax :decimal(3, 1) default(7.0), not null
|
||||
# deposit :decimal(8, 2) default(0.0), not null
|
||||
# unit_quantity :decimal(4, 1) default(1.0), not null
|
||||
# scale_quantity :decimal(4, 2)
|
||||
# scale_price :decimal(8, 2)
|
||||
# created_on :datetime
|
||||
# updated_on :datetime
|
||||
# list :string(255)
|
||||
#
|
||||
|
||||
class SharedArticle < ActiveRecord::Base
|
||||
|
||||
# connect to database from sharedLists-Application
|
||||
|
|
|
|||
|
|
@ -14,26 +14,3 @@ class SharedSupplier < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: suppliers
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# name :string(255) not null
|
||||
# address :string(255) not null
|
||||
# phone :string(255) not null
|
||||
# phone2 :string(255)
|
||||
# fax :string(255)
|
||||
# email :string(255)
|
||||
# url :string(255)
|
||||
# delivery_days :string(255)
|
||||
# note :string(255)
|
||||
# created_on :datetime
|
||||
# updated_on :datetime
|
||||
# lists :string(255)
|
||||
# bnn_sync :boolean(1) default(FALSE)
|
||||
# bnn_host :string(255)
|
||||
# bnn_user :string(255)
|
||||
# bnn_password :string(255)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -41,29 +41,3 @@ class StockArticle < Article
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: articles
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# name :string(255) default(""), not null
|
||||
# supplier_id :integer(4) default(0), not null
|
||||
# article_category_id :integer(4) default(0), not null
|
||||
# unit :string(255) default(""), not null
|
||||
# note :string(255)
|
||||
# availability :boolean(1) default(TRUE), not null
|
||||
# manufacturer :string(255)
|
||||
# origin :string(255)
|
||||
# shared_updated_on :datetime
|
||||
# price :decimal(8, 2)
|
||||
# tax :float
|
||||
# deposit :decimal(8, 2) default(0.0)
|
||||
# unit_quantity :integer(4) default(1), not null
|
||||
# order_number :string(255)
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# deleted_at :datetime
|
||||
# type :string(255)
|
||||
# quantity :integer(4) default(0)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -16,16 +16,3 @@ class StockChange < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: stock_changes
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# delivery_id :integer(4)
|
||||
# order_id :integer(4)
|
||||
# stock_article_id :integer(4)
|
||||
# quantity :integer(4) default(0)
|
||||
# created_at :datetime
|
||||
# stock_taking_id :integer(4)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -12,13 +12,3 @@ class StockTaking < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: stock_takings
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# date :date
|
||||
# note :text
|
||||
# created_at :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -67,25 +67,3 @@ class Supplier < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: suppliers
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# name :string(255) default(""), not null
|
||||
# address :string(255) default(""), not null
|
||||
# phone :string(255) default(""), not null
|
||||
# phone2 :string(255)
|
||||
# fax :string(255)
|
||||
# email :string(255)
|
||||
# url :string(255)
|
||||
# contact_person :string(255)
|
||||
# customer_number :string(255)
|
||||
# delivery_days :string(255)
|
||||
# order_howto :string(255)
|
||||
# note :string(255)
|
||||
# shared_supplier_id :integer(4)
|
||||
# min_order_quantity :string(255)
|
||||
# deleted_at :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -74,21 +74,3 @@ class Task < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: tasks
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# name :string(255) default(""), not null
|
||||
# description :string(255)
|
||||
# due_date :date
|
||||
# done :boolean(1) default(FALSE)
|
||||
# workgroup_id :integer(4)
|
||||
# assigned :boolean(1) default(FALSE)
|
||||
# created_on :datetime not null
|
||||
# updated_on :datetime not null
|
||||
# required_users :integer(4) default(1)
|
||||
# weekly :boolean(1)
|
||||
# duration :integer(4) default(1)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -193,21 +193,3 @@ class User < ActiveRecord::Base
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: users
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# nick :string(255) default(""), not null
|
||||
# password_hash :string(255) default(""), not null
|
||||
# password_salt :string(255) default(""), not null
|
||||
# first_name :string(255) default(""), not null
|
||||
# last_name :string(255) default(""), not null
|
||||
# email :string(255) default(""), not null
|
||||
# phone :string(255)
|
||||
# created_on :datetime not null
|
||||
# reset_password_token :string(255)
|
||||
# reset_password_expires :datetime
|
||||
# last_login :datetime
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -67,32 +67,3 @@ class Workgroup < Group
|
|||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: groups
|
||||
#
|
||||
# id :integer(4) 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(1) default(FALSE), not null
|
||||
# role_suppliers :boolean(1) default(FALSE), not null
|
||||
# role_article_meta :boolean(1) default(FALSE), not null
|
||||
# role_finance :boolean(1) default(FALSE), not null
|
||||
# role_orders :boolean(1) default(FALSE), not null
|
||||
# weekly_task :boolean(1) default(FALSE)
|
||||
# weekday :integer(4)
|
||||
# task_name :string(255)
|
||||
# task_description :string(255)
|
||||
# task_required_users :integer(4) default(1)
|
||||
# deleted_at :datetime
|
||||
# contact_person :string(255)
|
||||
# contact_phone :string(255)
|
||||
# contact_address :string(255)
|
||||
# stats :text
|
||||
# task_duration :integer(4) default(1)
|
||||
#
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue