mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Require associations of CoordinatorFee
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RequireOrderCycleAndEnterpriseFeeOnCoordinatorFees < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
change_column_null :coordinator_fees, :order_cycle_id, false
|
||||
change_column_null :coordinator_fees, :enterprise_fee_id, false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user