Default value return empty string on Doctrine custom mapping type

后端 未结 0 1755
暖寄归人
暖寄归人 2021-02-14 13:29

I added MySQL tinyint type to Doctrine in my project.
But while generating migration, I noticed that the default value is written as DEFAULT \'\'

相关标签:
回答
  • 消灭零回复
提交回复
热议问题