mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
reset index and use maximum length
This commit is contained in:
@@ -21,7 +21,8 @@ public class User extends AbstractModel {
|
||||
@Index(name = "username_index")
|
||||
private String name;
|
||||
|
||||
@Column(length = 256)
|
||||
@Column(length = 255, unique = true)
|
||||
@Index(name = "useremail_index")
|
||||
private String email;
|
||||
|
||||
@Column(length = 256, nullable = false)
|
||||
|
||||
Reference in New Issue
Block a user