Skip to content

Commit

Permalink
[fix] DataBase migration error
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Oct 1, 2023
1 parent 2bd2790 commit 9dd0fe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kys-service",
"version": "0.6.2",
"version": "0.6.4",
"license": "AGPL-3.0",
"author": "[email protected]",
"description": "RESTful API service of KaiYuanShe",
Expand Down
2 changes: 1 addition & 1 deletion src/model/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export enum Gender {
@Entity()
export class User extends Base {
@IsString()
@Column({ unique: true })
@Column({ nullable: true })
uuid: string;

@IsMobilePhone()
Expand Down

0 comments on commit 9dd0fe6

Please sign in to comment.