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
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-19 22:24:05 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-19 22:24:05 +0400
commit95c23b2f974ec15e89cd7e762c80af0fa0ce57a5 (patch)
treef37af5b6d4c92f9733298b6894dd6f24057e9cae /app/models/wiki.rb
parentc3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff)
Annotated. schema updated
Diffstat (limited to 'app/models/wiki.rb')
-rw-r--r--app/models/wiki.rb29
1 files changed, 14 insertions, 15 deletions
diff --git a/app/models/wiki.rb b/app/models/wiki.rb
index 895c2896462..252a97e8cca 100644
--- a/app/models/wiki.rb
+++ b/app/models/wiki.rb
@@ -1,3 +1,17 @@
+# == Schema Information
+#
+# Table name: wikis
+#
+# id :integer not null, primary key
+# title :string(255)
+# content :text
+# project_id :integer
+# created_at :datetime not null
+# updated_at :datetime not null
+# slug :string(255)
+# user_id :integer
+#
+
class Wiki < ActiveRecord::Base
attr_accessible :title, :content, :slug
@@ -38,18 +52,3 @@ class Wiki < ActiveRecord::Base
end
end
-
-# == Schema Information
-#
-# Table name: wikis
-#
-# id :integer not null, primary key
-# title :string(255)
-# content :text
-# project_id :integer
-# created_at :datetime not null
-# updated_at :datetime not null
-# slug :string(255)
-# user_id :integer
-#
-