set uuid column datatype to uuid instead of uuidv4

This commit is contained in:
bytedream 2023-11-13 11:53:17 +01:00
parent 4a4135c31e
commit 9af519d72f

@ -31,7 +31,7 @@ export class User extends Model {
declare playertype: 'java' | 'bedrock' | 'noauth'; declare playertype: 'java' | 'bedrock' | 'noauth';
@Column({ type: DataTypes.STRING }) @Column({ type: DataTypes.STRING })
declare password: string; declare password: string;
@Column({ type: DataTypes.UUIDV4 }) @Column({ type: DataTypes.UUID })
@Index @Index
declare uuid: string; declare uuid: string;
} }