Skip to content

Commit

Permalink
Updating schema annotation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesprior committed Jan 27, 2013
1 parent cdea7dd commit 37922a6
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/models/permission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ class Permission < ActiveRecord::Base
end



# == Schema Information
#
# Table name: perms
#
# userid :integer not null
# userid :integer not null, primary key
# status :string(32)
#

3 changes: 2 additions & 1 deletion app/models/style.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ class Style < ActiveRecord::Base
end



# == Schema Information
#
# Table name: style
#
# style :integer not null
# style :integer not null, primary key
# path :string(128)
# descr :string(255)
#
Expand Down
3 changes: 2 additions & 1 deletion app/models/stylesheet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ class Stylesheet < ActiveRecord::Base
end



# == Schema Information
#
# Table name: stylesheet
#
# userid :integer not null
# userid :integer not null, primary key
# stylesheet :text(255)
#

2 changes: 2 additions & 0 deletions spec/models/account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@




# == Schema Information
#
# Table name: accounts
Expand All @@ -104,5 +105,6 @@
# is_admin :boolean default(FALSE)
# persistence_token :string(255)
# password_salt :string(255)
# perishable_token :string(255) default(""), not null
#

10 changes: 10 additions & 0 deletions spec/models/interface_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@
interface = described_class.create(:path => nil).should be_invalid
end
end

# == Schema Information
#
# Table name: interface
#
# interface :integer not null, primary key
# path :string(128)
# descr :string(255)
#

3 changes: 2 additions & 1 deletion spec/models/permission_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@

end
end

# == Schema Information
#
# Table name: perms
#
# userid :integer not null
# userid :integer not null, primary key
# status :string(32)
#

10 changes: 10 additions & 0 deletions spec/models/style_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@
style = described_class.create(:path => nil).should be_invalid
end
end

# == Schema Information
#
# Table name: style
#
# style :integer not null, primary key
# path :string(128)
# descr :string(255)
#

3 changes: 2 additions & 1 deletion spec/models/stylesheet_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

describe Stylesheet do
end

# == Schema Information
#
# Table name: stylesheet
#
# userid :integer not null
# userid :integer not null, primary key
# stylesheet :text(255)
#

0 comments on commit 37922a6

Please sign in to comment.