Skip to content

Commit

Permalink
fix: Fixed origin column name
Browse files Browse the repository at this point in the history
  • Loading branch information
zoemaas committed Mar 20, 2024
1 parent 07d8c1f commit d7a6ec1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class PartyTypeEntity {
@Column('simple-enum', { name: 'type', enum: PartyTypeEnum, nullable: false, unique: false })
type!: PartyTypeEnum

@Column('simple-enum', { name: 'type', enum: PartyOriginEnum, nullable: false, unique: false })
@Column('simple-enum', { name: 'origin', enum: PartyOriginEnum, nullable: false, unique: false })
origin!: PartyOriginEnum

@Column({ name: 'name', length: 255, nullable: false, unique: true })
Expand Down

0 comments on commit d7a6ec1

Please sign in to comment.