krlove / eloquent-model-generator

Eloquent Model Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for MS SQL Server

izzy1333 opened this issue · comments

I am trying to use the Eloquent Model Generator with MS SQL Server and am getting the error "Unknown database type timestamp requested, Doctrine\DBAL\Platforms\SQLServer2012Platform may not support it". How can I resolve this .. to add a custom mapping type ? Thanks

Indeed, timestamp isn't supported out of the box, you should add custom casting to db_types config.