Commit f0910473 by Juho Juopperi

user identity

1 parent 708de524
......@@ -52,7 +52,7 @@ public class User implements ModelInterface {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
@Column(name = "users_id", nullable = false)
@GeneratedValue(strategy = GenerationType.SEQUENCE)
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Column(name = "created", nullable = false, columnDefinition = "timestamptz default now()")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!