9eb2125f15
OrderResult tables are removed. Data consistency is now possible through new article.price-history (ArticlePrice). Balancing-workflow needs to be updated.
19 lines
378 B
Ruby
19 lines
378 B
Ruby
# == Schema Information
|
|
# Schema version: 20090120184410
|
|
#
|
|
# Table name: order_comments
|
|
#
|
|
# id :integer(4) not null, primary key
|
|
# order_id :integer(4)
|
|
# user_id :integer(4)
|
|
# text :text
|
|
# created_at :datetime
|
|
#
|
|
|
|
class OrderComment < ActiveRecord::Base
|
|
|
|
belongs_to :order
|
|
belongs_to :user
|
|
|
|
validates_presence_of :order_id, :user_id, :text
|
|
end
|