Related: https://github.com/Sylius/Sylius/pull/5395#discussion_r69283483
We already have some conventions:
Sylius\...\Model\FooBar has table name sylius_foo_barModel::$fooBar has column name foo_barWe may enforce them with Doctrine naming strategy, remove all existing hardcoded table names / column names and just forget about it.
There's an another issue for that: https://github.com/Sylius/Sylius/issues/1837, but it's quite old.
Last call before alpha - should we enforce the naming convention?
Anyone?
I'd prefer to keep them in the files. It is not much overhead, we have not touched them for a long time and this approach is mostly known for Symfony devs. Naming strategy is something that not everyone is aware of.
Agreed, we don't know how this will affect custom entities too.