fixed for pm key changed

This commit is contained in:
Yan
2017-06-05 18:52:19 +06:30
parent f004db9b19
commit f1877408be
16 changed files with 40 additions and 10 deletions

View File

@@ -1,6 +1,9 @@
class AssignedOrderItem < ApplicationRecord
before_create :generate_custom_id
#primary key - need to be unique
self.primary_key = "assigned_order_item_id"
belongs_to :order
belongs_to :order_queue_station