make user uuid unique
This commit is contained in:
parent
9cd78231c3
commit
0ec9751f41
@ -31,7 +31,7 @@ export class User extends Model {
|
||||
declare playertype: 'java' | 'bedrock' | 'noauth';
|
||||
@Column({ type: DataTypes.STRING })
|
||||
declare password: string;
|
||||
@Column({ type: DataTypes.UUID })
|
||||
@Column({ type: DataTypes.UUID, unique: true })
|
||||
@Index
|
||||
declare uuid: string;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user