You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following SQL deleration functions are missing / incomplete within all Platform classes:
public function getDateTypeDeclarationSql(array $fieldDeclaration)
public function getTimeTypeDeclarationSql(array $fieldDeclaration)
This leads to fatal errors when using time column definitions with e.g. a mysql backend:
PHP Fatal error: Call to undefined method Doctrine\DBAL\Platforms\MySqlPlatform::getTimeTypeDeclarationSql() .../doctrine/lib/Doctrine/DBAL/Types/TimeType.php
Patch attached (I've used the oracle and mssql declarations from doctrine 1.x, "DATE' was used for both oracle 'date' and 'time'c olumns...).
Also, the function getTimeTypeDeclarationSql() was completely missing in AbstractPlatform.
The text was updated successfully, but these errors were encountered:
Is this a patch against HEAD? I'm asking because at least getDateTypeDeclarationSql seems to be present and functional in the latest code. getTimeTypeDeclarationSql seems to be missing indeed. Sorry for that. Will be scheduled for the soon to come alpha3 release.
Jira issue originally created by user chriswest:
The following SQL deleration functions are missing / incomplete within all Platform classes:
This leads to fatal errors when using time column definitions with e.g. a mysql backend:
PHP Fatal error: Call to undefined method Doctrine\DBAL\Platforms\MySqlPlatform::getTimeTypeDeclarationSql() .../doctrine/lib/Doctrine/DBAL/Types/TimeType.php
Patch attached (I've used the oracle and mssql declarations from doctrine 1.x, "DATE' was used for both oracle 'date' and 'time'c olumns...).
Also, the function getTimeTypeDeclarationSql() was completely missing in AbstractPlatform.
The text was updated successfully, but these errors were encountered: