foodsoft/db/migrate/20181201000300_allow_emtpy_...

6 lines
172 B
Ruby

class AllowEmtpyOrdergroupInFinancialTransaction < ActiveRecord::Migration[4.2]
def change
change_column_null :financial_transactions, :ordergroup_id, true
end
end