What happened?
Description
While attempting a Craft 5 upgrade I got the following
- Ran the composer upgrade successfully
- When running
craft up it got to m230617_070415_entrify_matrix_blocks and then stopped with:
Invalid datetime format: 1292 Incorrect datetime value: '0000-00-00 00:00:00' for column 'postDate' at row 18
The SQL being executed was: ALTER TABLE entries ADD CONSTRAINT fk_uideqcoxvflgzpuixztokolwgbortxmtbrjs FOREIGN KEY (fieldId) REFERENCES fields (id) ON DELETE CASCADE (/var/www/html/craft/vendor/yiisoft/yii2/db/Schema.php:676)
Craft CMS version
5.2.8
PHP version
8.1
Operating system and version
Mac OSX / DDEV
Database type and version
MySQL 8.0
Image driver and version
No response
Installed plugins and versions
What happened?
Description
While attempting a Craft 5 upgrade I got the following
craft upit got tom230617_070415_entrify_matrix_blocksand then stopped with:Craft CMS version
5.2.8
PHP version
8.1
Operating system and version
Mac OSX / DDEV
Database type and version
MySQL 8.0
Image driver and version
No response
Installed plugins and versions