Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-25 00:16:51 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-25 00:16:51 +0400
commit65c470e84396a9db4b697a45128ce8d28c612d7c (patch)
tree3637f47ee24f1945a1e70cd2fc13b9a1ca18a88b /app
parent3f1d6d6ab3a7e1b2bbbae7dcd17edc884f9fbf07 (diff)
Reannotated
Diffstat (limited to 'app')
-rw-r--r--app/models/group.rb5
-rw-r--r--app/models/namespace.rb13
-rw-r--r--app/models/project.rb3
-rw-r--r--app/models/user.rb1
4 files changed, 18 insertions, 4 deletions
diff --git a/app/models/group.rb b/app/models/group.rb
index ab7b1b8983f..66267c56957 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -1,13 +1,14 @@
# == Schema Information
#
-# Table name: groups
+# Table name: namespaces
#
# id :integer not null, primary key
# name :string(255) not null
-# code :string(255) not null
+# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
+# type :string(255)
#
class Group < Namespace
diff --git a/app/models/namespace.rb b/app/models/namespace.rb
index 72ba106c7ed..742c5cda233 100644
--- a/app/models/namespace.rb
+++ b/app/models/namespace.rb
@@ -1,3 +1,16 @@
+# == Schema Information
+#
+# Table name: namespaces
+#
+# id :integer not null, primary key
+# name :string(255) not null
+# path :string(255) not null
+# owner_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+# type :string(255)
+#
+
class Namespace < ActiveRecord::Base
attr_accessible :name, :path
diff --git a/app/models/project.rb b/app/models/project.rb
index 956ab2aa1c8..4125456ded1 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -9,14 +9,13 @@
# created_at :datetime not null
# updated_at :datetime not null
# private_flag :boolean default(TRUE), not null
-# code :string(255)
# owner_id :integer
# default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null
-# group_id :integer
+# namespace_id :integer
#
require "grit"
diff --git a/app/models/user.rb b/app/models/user.rb
index 20a5c4792cf..bd7f50e2b2c 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -30,6 +30,7 @@
# locked_at :datetime
# extern_uid :string(255)
# provider :string(255)
+# username :string(255)
#
class User < ActiveRecord::Base