diff --git a/app/models/issue.rb b/app/models/issue.rb index 9b1b923eaa01d1c68ef12186dafd5720995d5b47..556cdc1c1c918f791a4b0d0ab78e74ff9ae448bc 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -37,5 +37,6 @@ end # created_at :datetime # updated_at :datetime # closed :boolean default(FALSE), not null +# position :integer default(0) # diff --git a/app/models/snippet.rb b/app/models/snippet.rb index d51afc399941d48c5c8b3aef0cb21eccd038d12d..0a54fee7e2f4a76ab285be887b098d993b377a8c 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -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) +# + diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb index 23609023c50136636ac58e02afc479c5a22c88ec..b2d594c904df81b41ce17bde969e972b090e67a4 100644 --- a/spec/models/issue_spec.rb +++ b/spec/models/issue_spec.rb @@ -38,5 +38,6 @@ end # created_at :datetime # updated_at :datetime # closed :boolean default(FALSE), not null +# position :integer default(0) # diff --git a/spec/models/snippet_spec.rb b/spec/models/snippet_spec.rb index 2a63584e429607cdf1ecf15e08b6ab8784d3ab85..9dab72ca7dc8e56f5d5a33bc595e99196062182b 100644 --- a/spec/models/snippet_spec.rb +++ b/spec/models/snippet_spec.rb @@ -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) +# +