Commit d03f2687c596b5a2453e0e27918dd0628682a785

Authored by gitlabhq
1 parent 783ca897

annotated

app/models/issue.rb
... ... @@ -37,5 +37,6 @@ end
37 37 # created_at :datetime
38 38 # updated_at :datetime
39 39 # closed :boolean default(FALSE), not null
  40 +# position :integer default(0)
40 41 #
41 42  
... ...
app/models/snippet.rb
... ... @@ -29,3 +29,17 @@ class Snippet < ActiveRecord::Base
29 29 ]
30 30 end
31 31 end
  32 +# == Schema Information
  33 +#
  34 +# Table name: snippets
  35 +#
  36 +# id :integer not null, primary key
  37 +# title :string(255)
  38 +# content :text
  39 +# author_id :integer not null
  40 +# project_id :integer not null
  41 +# created_at :datetime
  42 +# updated_at :datetime
  43 +# file_name :string(255)
  44 +#
  45 +
... ...
spec/models/issue_spec.rb
... ... @@ -38,5 +38,6 @@ end
38 38 # created_at :datetime
39 39 # updated_at :datetime
40 40 # closed :boolean default(FALSE), not null
  41 +# position :integer default(0)
41 42 #
42 43  
... ...
spec/models/snippet_spec.rb
... ... @@ -14,3 +14,17 @@ describe Snippet do
14 14 it { should validate_presence_of(:content) }
15 15 end
16 16 end
  17 +# == Schema Information
  18 +#
  19 +# Table name: snippets
  20 +#
  21 +# id :integer not null, primary key
  22 +# title :string(255)
  23 +# content :text
  24 +# author_id :integer not null
  25 +# project_id :integer not null
  26 +# created_at :datetime
  27 +# updated_at :datetime
  28 +# file_name :string(255)
  29 +#
  30 +
... ...