mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
12878: add relations in model
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
class UpdateItemNameToProductInOdReport < ActiveRecord::Migration[7.0]
|
||||
class ReportRenderingOptions < ActiveRecord::Base; end
|
||||
class ReportRenderingOptions < ActiveRecord::Base
|
||||
self.belongs_to_required_by_default = false
|
||||
|
||||
belongs_to :user, class_name: "Spree::User"
|
||||
serialize :options, Hash, coder: YAML
|
||||
end
|
||||
|
||||
# OD: Orders and Distributors
|
||||
def up
|
||||
|
||||
Reference in New Issue
Block a user