Skip to content

Commit ddcbc5c

Browse files
committed
Setting username as the PRIMARY KEY.
1 parent 1df4b00 commit ddcbc5c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/User.java

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ public class User {
1313

1414
@Id
1515
@GeneratedValue(strategy=GenerationType.IDENTITY)
16-
@Column(name="id")
17-
private int id;
18-
1916
@Column(name="username")
2017
private String username;
2118

0 commit comments

Comments
 (0)