Affects Version/s: 2.3.4
Fix Version/s: None
Component/s: Mapping Drivers
Security Level: All
I have an entity "Index"
Running doctrine orm:schema-tool:update using CLI generates following
ALTER TABLE Index ADD Merchant_Id BIGINT DEFAULT NULL
Note there are no backquotes around Index, should be like this:
ALTER TABLE `Index` ADD `Merchant_Id` BIGINT DEFAULT NULL
Naturally SQL fails due to the use of mysql token word as a table name.
Manual workarounds exist, but all DDL should really use proper quotes.