Skip to content

Commit

Permalink
remove model annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mockdeep committed Jul 29, 2012
1 parent 5172e8c commit fad448a
Show file tree
Hide file tree
Showing 56 changed files with 0 additions and 891 deletions.
35 changes: 0 additions & 35 deletions app/models/activity_stream.rb
Expand Up @@ -134,38 +134,3 @@ def soft_destroy




# == Schema Information
#
# Table name: activity_streams
#
# id :integer not null, primary key
# verb :string(255)
# activity :string(255)
# actor_id :integer
# actor_type :string(255)
# actor_name_method :string(255)
# count :integer default(1)
# object_id :integer
# object_type :string(255)
# object_name_method :string(255)
# indirect_object_id :integer
# indirect_object_type :string(255)
# indirect_object_name_method :string(255)
# indirect_object_phrase :string(255)
# status :integer default(0)
# created_at :datetime
# updated_at :datetime
# project_id :integer default(0)
# actor_name :string(255)
# object_name :string(255)
# object_description :text
# indirect_object_name :string(255)
# indirect_object_description :text
# tracker_name :string(255)
# project_name :string(255)
# actor_email :string(255)
# is_public :boolean default(FALSE)
# hidden_from_user_id :integer default(0)
#

13 changes: 0 additions & 13 deletions app/models/activity_stream_preference.rb
Expand Up @@ -8,16 +8,3 @@

class ActivityStreamPreference < ActiveRecord::Base
end

# == Schema Information
#
# Table name: activity_stream_preferences
#
# id :integer not null, primary key
# activity :string(255)
# location :string(255)
# user_id :integer
# created_at :datetime
# updated_at :datetime
#

14 changes: 0 additions & 14 deletions app/models/activity_stream_total.rb
Expand Up @@ -10,17 +10,3 @@
class ActivityStreamTotal < ActiveRecord::Base
belongs_to :object, :polymorphic => true
end

# == Schema Information
#
# Table name: activity_stream_totals
#
# id :integer not null, primary key
# activity :string(255)
# object_id :integer
# object_type :string(255)
# total :float default(0.0)
# created_at :datetime
# updated_at :datetime
#

19 changes: 0 additions & 19 deletions app/models/attachment.rb
Expand Up @@ -157,22 +157,3 @@ def self.disk_filename(filename)

end


# == Schema Information
#
# Table name: attachments
#
# id :integer not null, primary key
# container_id :integer default(0), not null
# container_type :string(30) default(""), not null
# filename :string(255) default(""), not null
# disk_filename :string(255) default(""), not null
# filesize :integer default(0), not null
# content_type :string(255) default("")
# digest :string(40) default(""), not null
# downloads :integer default(0), not null
# author_id :integer default(0), not null
# created_at :datetime
# description :string(255)
#

21 changes: 0 additions & 21 deletions app/models/auth_source.rb
Expand Up @@ -34,24 +34,3 @@ def self.authenticate(login, password)
end
end


# == Schema Information
#
# Table name: auth_sources
#
# id :integer not null, primary key
# type :string(30) default(""), not null
# name :string(60) default(""), not null
# host :string(60)
# port :integer
# account :string(255)
# account_password :string(60)
# base_dn :string(255)
# attr_login :string(30)
# attr_firstname :string(30)
# attr_lastname :string(30)
# attr_mail :string(30)
# onthefly_register :boolean default(FALSE), not null
# tls :boolean default(FALSE), not null
#

21 changes: 0 additions & 21 deletions app/models/auth_source_ldap.rb
Expand Up @@ -84,24 +84,3 @@ def self.get_attr(entry, attr_name)

end


# == Schema Information
#
# Table name: auth_sources
#
# id :integer not null, primary key
# type :string(30) default(""), not null
# name :string(60) default(""), not null
# host :string(60)
# port :integer
# account :string(255)
# account_password :string(60)
# base_dn :string(255)
# attr_login :string(30)
# attr_firstname :string(30)
# attr_lastname :string(30)
# attr_mail :string(30)
# onthefly_register :boolean default(FALSE), not null
# tls :boolean default(FALSE), not null
#

15 changes: 0 additions & 15 deletions app/models/board.rb
Expand Up @@ -36,18 +36,3 @@ def self.reset_counters!(board_id)
end
end


# == Schema Information
#
# Table name: boards
#
# id :integer not null, primary key
# project_id :integer not null
# name :string(255) default(""), not null
# description :string(255)
# position :integer default(1)
# topics_count :integer default(0), not null
# messages_count :integer default(0), not null
# last_message_id :integer
#

14 changes: 0 additions & 14 deletions app/models/comment.rb
Expand Up @@ -32,17 +32,3 @@ def mention(mentioner_id, mentioned_id, mention_text)
end
end


# == Schema Information
#
# Table name: comments
#
# id :integer not null, primary key
# commented_type :string(30) default(""), not null
# commented_id :integer default(0), not null
# author_id :integer default(0), not null
# comments :text
# created_at :datetime not null
# updated_at :datetime not null
#

16 changes: 0 additions & 16 deletions app/models/credit.rb
Expand Up @@ -119,19 +119,3 @@ def self.transfer(sender,recipient,project,amount, note)




# == Schema Information
#
# Table name: credits
#
# id :integer not null, primary key
# amount :float not null
# issued_on :datetime
# created_at :datetime
# updated_at :datetime
# owner_id :integer
# project_id :integer
# settled_on :datetime
# enabled :boolean default(TRUE)
#

14 changes: 0 additions & 14 deletions app/models/credit_distribution.rb
Expand Up @@ -24,17 +24,3 @@ def add_credits
:source_type => "Credit"
end
end

# == Schema Information
#
# Table name: credit_distributions
#
# id :integer not null, primary key
# user_id :integer
# project_id :integer
# retro_id :integer
# amount :float
# created_at :datetime
# updated_at :datetime
#

12 changes: 0 additions & 12 deletions app/models/document.rb
Expand Up @@ -45,15 +45,3 @@ def recipients
end



# == Schema Information
#
# Table name: documents
#
# id :integer not null, primary key
# project_id :integer default(0), not null
# title :string(60) default(""), not null
# description :text
# created_at :datetime
#

10 changes: 0 additions & 10 deletions app/models/enabled_module.rb
Expand Up @@ -23,13 +23,3 @@ def module_enabled

end


# == Schema Information
#
# Table name: enabled_modules
#
# id :integer not null, primary key
# project_id :integer
# name :string(255) not null
#

13 changes: 0 additions & 13 deletions app/models/enterprise.rb
Expand Up @@ -13,16 +13,3 @@ class Enterprise < ActiveRecord::Base

end


# == Schema Information
#
# Table name: enterprises
#
# id :integer not null, primary key
# name :string(255)
# description :text
# homepage :string(255) default("")
# created_at :datetime
# updated_at :datetime
#

16 changes: 0 additions & 16 deletions app/models/enumeration.rb
Expand Up @@ -117,19 +117,3 @@ def check_integrity

end


# == Schema Information
#
# Table name: enumerations
#
# id :integer not null, primary key
# opt :string(4) default(""), not null
# name :string(30) default(""), not null
# position :integer default(1)
# is_default :boolean default(FALSE), not null
# type :string(255)
# active :boolean default(TRUE), not null
# project_id :integer
# parent_id :integer
#

13 changes: 0 additions & 13 deletions app/models/help_section.rb
@@ -1,16 +1,3 @@
class HelpSection < ActiveRecord::Base
belongs_to :user
end

# == Schema Information
#
# Table name: help_sections
#
# id :integer not null, primary key
# user_id :integer default(0), not null
# name :string(255)
# show :boolean default(TRUE)
# created_at :datetime
# updated_at :datetime
#

14 changes: 0 additions & 14 deletions app/models/hourly_type.rb
Expand Up @@ -17,17 +17,3 @@ def name_with_rates
end



# == Schema Information
#
# Table name: hourly_types
#
# id :integer not null, primary key
# project_id :integer
# name :string(255)
# hourly_rate_per_person :decimal(8, 2)
# hourly_cap :decimal(8, 2)
# created_at :datetime
# updated_at :datetime
#

16 changes: 0 additions & 16 deletions app/models/invitation.rb
Expand Up @@ -79,19 +79,3 @@ def accept(user=nil)




# == Schema Information
#
# Table name: invitations
#
# id :integer not null, primary key
# user_id :integer
# project_id :integer
# token :string(255)
# status :integer default(0)
# role_id :integer
# mail :string(255)
# created_at :datetime
# updated_at :datetime
#

42 changes: 0 additions & 42 deletions app/models/issue.rb
Expand Up @@ -642,45 +642,3 @@ def create_journal
end

end

# == Schema Information
#
# Table name: issues
#
# id :integer not null, primary key
# tracker_id :integer default(0), not null
# project_id :integer default(0), not null
# subject :string(255) default(""), not null
# description :text
# due_date :date
# status_id :integer default(0), not null
# assigned_to_id :integer
# author_id :integer default(0), not null
# lock_version :integer default(0), not null
# created_at :datetime
# updated_at :datetime
# start_date :date
# done_ratio :integer default(0), not null
# estimated_hours :float
# expected_date :date
# points :float
# pri :integer default(0)
# accept :integer default(0)
# reject :integer default(0)
# accept_total :integer default(0)
# agree :integer default(0)
# disagree :integer default(0)
# agree_total :integer default(0)
# retro_id :integer
# accept_nonbind :integer default(0)
# reject_nonbind :integer default(0)
# accept_total_nonbind :integer default(0)
# agree_nonbind :integer default(0)
# disagree_nonbind :integer default(0)
# agree_total_nonbind :integer default(0)
# points_nonbind :integer default(0)
# pri_nonbind :integer default(0)
# hourly_type_id :integer
# num_hours :integer default(0)
#

0 comments on commit fad448a

Please sign in to comment.