Skip to content

Commit 27efc38

Browse files
msheakoskiwouterj
authored andcommitted
Quote “user” table in example code with backticks
Naming the table “user” without backtick quoting will trigger an error for anybody that copy/pastes the code because “USER” is a SQL reserved word. See #9541 for more details.
1 parent c873cfc commit 27efc38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/guard_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ property they use to access their account via the API::
2727

2828
/**
2929
* @ORM\Entity
30-
* @ORM\Table(name="user")
30+
* @ORM\Table(name="`user`")
3131
*/
3232
class User implements UserInterface
3333
{

0 commit comments

Comments
 (0)