Is there a convention for naming tables when using Doctrine ORM? I like to call plural tables, but if there is an agreement, I want to stick to it.
This way, the "users" of the table will be associated with the tables, using fk as the only one ("user_id").
Is there a best practice for this (using unique or plural table names), and if the latter, as is the case for tables where the plural is not a simple case of adding 's'.
For example, I currently have a table called "categories" instead of "categories" to preserve the agreement on adding 's'.
Is this a reasonable approach?
orm doctrine convention
calumbrodie
source share