mirror of
https://github.com/linuxserver/budge.git
synced 2026-03-09 00:08:38 +08:00
fixed column unique
This commit is contained in:
parent
2caff15f67
commit
7e3ecf1781
@ -23,8 +23,8 @@ export class User extends BaseEntity {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string
|
||||
|
||||
@Column({ type: 'varchar', unique: true })
|
||||
@Index()
|
||||
@Column({ type: 'varchar' })
|
||||
@Index({ unique: true })
|
||||
email: string
|
||||
|
||||
@Column({ type: 'varchar' })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user