- Laravel Version: 6.2
- PHP Version: 7.4.16
- Database Driver & Version: MySQL 8.0.26
Description:
When I try to rename a year column, I have this SQL exception :
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect date value: '2002' for column 'dfasp' at row 1 (SQL: ALTER TABLE apotiko_replaced_resumes CHANGE dfsap dfasp DATE DEFAULT NULL)
Steps To Reproduce:
- Create a migration script, with an
year column, named "dfsap"
- Create another migration script, which tries to rename "dfsap" to "dfasp"