Invalid default value for datetime

While this technically doesn’t answer the question, it is a workaround:

I ran SET SQL_MODE='ALLOW_INVALID_DATES'; in the database and was then able to execute the database schemas.

1 Like