OSDN Git Service

annotated
authorgitlabhq <m@gitlabhq.com>
Mon, 17 Oct 2011 15:31:21 +0000 (18:31 +0300)
committergitlabhq <m@gitlabhq.com>
Mon, 17 Oct 2011 15:31:21 +0000 (18:31 +0300)
app/models/issue.rb
app/models/snippet.rb
spec/models/issue_spec.rb
spec/models/snippet_spec.rb

index 9b1b923..556cdc1 100644 (file)
@@ -37,5 +37,6 @@ end
 #  created_at  :datetime
 #  updated_at  :datetime
 #  closed      :boolean         default(FALSE), not null
+#  position    :integer         default(0)
 #
 
index d51afc3..0a54fee 100644 (file)
@@ -29,3 +29,17 @@ class Snippet < ActiveRecord::Base
     ]
   end
 end
+# == Schema Information
+#
+# Table name: snippets
+#
+#  id         :integer         not null, primary key
+#  title      :string(255)
+#  content    :text
+#  author_id  :integer         not null
+#  project_id :integer         not null
+#  created_at :datetime
+#  updated_at :datetime
+#  file_name  :string(255)
+#
+
index 2360902..b2d594c 100644 (file)
@@ -38,5 +38,6 @@ end
 #  created_at  :datetime
 #  updated_at  :datetime
 #  closed      :boolean         default(FALSE), not null
+#  position    :integer         default(0)
 #
 
index 2a63584..9dab72c 100644 (file)
@@ -14,3 +14,17 @@ describe Snippet do
     it { should validate_presence_of(:content) }
   end
 end
+# == Schema Information
+#
+# Table name: snippets
+#
+#  id         :integer         not null, primary key
+#  title      :string(255)
+#  content    :text
+#  author_id  :integer         not null
+#  project_id :integer         not null
+#  created_at :datetime
+#  updated_at :datetime
+#  file_name  :string(255)
+#
+