Closed tonthon closed 6 years ago
alter table business_payment_deadline drop foreign key fk_business_payment_deadline_invoice_id;
alter table business_payment_deadline ADD CONSTRAINT `fk_business_payment_deadline_invoice_id` FOREIGN KEY (`invoice_id`) REFERENCES `invoice` (`id`) ON DELETE SET NULL;