mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-118: DateTime maps to TIMESTAMP for MySQL, breaks "nullable" #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 5, 2009).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user nicokaiser:
For the DateType type, "\Doctrine\DBAL\Platforms\MySqlPlatform::getDateTimeTypeDeclarationSql" returns "TIMESTAMP" in some cases, which leads to MySQL not allowing NULL values in DateTime fields. This breaks some models (where dates don't need to be set)... Why was that changed?
@doctrinebot commented on GitHub (Nov 5, 2009):
Comment created by @beberlei:
My mistake, in introduced this regression. I'll add a test and fix it.
@doctrinebot commented on GitHub (Nov 5, 2009):
Comment created by @beberlei:
Fixed!
@doctrinebot commented on GitHub (Nov 5, 2009):
Issue was closed with resolution "Fixed"