diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 21:24:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 21:24:05 +0300 |
commit | 95c23b2f974ec15e89cd7e762c80af0fa0ce57a5 (patch) | |
tree | f37af5b6d4c92f9733298b6894dd6f24057e9cae /app/models/group.rb | |
parent | c3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff) | |
download | gitlab-ce-95c23b2f974ec15e89cd7e762c80af0fa0ce57a5.tar.gz |
Annotated. schema updated
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index ef8c7463974..1ff6872f687 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -1,3 +1,15 @@ +# == Schema Information +# +# Table name: groups +# +# id :integer not null, primary key +# name :string(255) not null +# code :string(255) not null +# owner_id :integer not null +# created_at :datetime not null +# updated_at :datetime not null +# + class Group < ActiveRecord::Base attr_accessible :code, :name, :owner_id @@ -22,16 +34,3 @@ class Group < ActiveRecord::Base User.joins(:users_projects).where(users_projects: {project_id: project_ids}).uniq end end - -# == Schema Information -# -# Table name: groups -# -# id :integer not null, primary key -# name :string(255) not null -# code :string(255) not null -# owner_id :integer not null -# created_at :datetime not null -# updated_at :datetime not null -# - |