Skip to content

Commit

Permalink
fix: 각 필드의 타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixtar committed Nov 9, 2024
1 parent 4059d4d commit f591728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/api/src/entity/ticle.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ export class Ticle {
@JoinColumn({ name: 'author_id' })
author: User;

@Column({ type: 'timestamp', nullable: false, name: 'author_name' })
@Column({ type: 'varchar', nullable: false, name: 'author_name' })
authorName: string;

@Column({ type: 'timestamp', nullable: false, name: 'author_email' })
@Column({ type: 'varchar', nullable: false, name: 'author_email' })
authorEmail: string;

@Column({ type: 'timestamp', nullable: false, name: 'author_introduce' })
@Column({ type: 'varchar', nullable: false, name: 'author_introduce' })
authorIntroduce: string;

@Column({ type: 'varchar', nullable: false })
Expand Down

0 comments on commit f591728

Please sign in to comment.