openfoodfoundation/openfoodnetwork

View on GitHub
db/migrate/20230616055032_require_enterprise_on_enterprise_fee.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class RequireEnterpriseOnEnterpriseFee < ActiveRecord::Migration[7.0]
  def change
    change_column_null :enterprise_fees, :enterprise_id, false
  end
end