set SQL_MODE to allow invalid date values

This commit is contained in:
Uwe Steinmann 2021-05-27 12:57:44 +02:00
parent 917b583d2a
commit 43938a1c19

View File

@ -1,3 +1,5 @@
SET SQL_MODE='ALLOW_INVALID_DATES';
START TRANSACTION;
ALTER TABLE tblDocumentLinks ADD CONSTRAINT `tblDocumentLinks_target` FOREIGN KEY (`target`) REFERENCES `tblDocuments` (`id`) ON DELETE CASCADE;