File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,13 @@ recommended to define their mapping using XML files stored in
167
167
:doc: `standard Symfony mechanism to override bundle parts </bundles/override >`.
168
168
This is not possible when using annotations/attributes to define the mapping.
169
169
170
+ Also, include explicit ``name `` values in the configuration for database tables
171
+ and columns, to make sure your code is independent of the Doctrine naming strategy
172
+ in use. Otherwise, for example when referring to columns in plain SQL queries,
173
+ using different naming strategies may break your code. This may mean that the
174
+ database schema elements belonging to your bundle follow another convention than
175
+ the rest of the project.
176
+
170
177
.. caution ::
171
178
172
179
The recommended bundle structure was changed in Symfony 5, read the
You can’t perform that action at this time.
0 commit comments