New annotation, because of db switch to mysql.

Background: sqlite has some problems with decimal option.
This commit is contained in:
benni 2011-05-07 21:55:24 +02:00
parent c2496aa4fd
commit 46450cebef
60 changed files with 623 additions and 568 deletions

View file

@ -1,14 +1,3 @@
# == Schema Information
#
# Table name: order_comments
#
# id :integer not null, primary key
# order_id :integer
# user_id :integer
# text :text
# created_at :datetime
#
class OrderComment < ActiveRecord::Base
belongs_to :order
@ -16,3 +5,15 @@ class OrderComment < ActiveRecord::Base
validates_presence_of :order_id, :user_id, :text
end
# == Schema Information
#
# Table name: order_comments
#
# id :integer(4) not null, primary key
# order_id :integer(4)
# user_id :integer(4)
# text :text
# created_at :datetime
#