Skip to content

Commit f7458e6

Browse files
committed
primary key
1 parent fd521b7 commit f7458e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Entity/Session.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
class Session implements SessionInterface
1717
{
1818
/**
19-
* @ORM\Column(type="string", unique=true)
19+
* @ORM\Column(type="string")
20+
* @ORM\Id
21+
* @ORM\GeneratedValue(strategy="CUSTOM")
2022
*
2123
* @var string
2224
*/

0 commit comments

Comments
 (0)