오류 :
QueryFailedError: Table 'user' already exists
typeORM -v : 0.3.7
해결 : entity.ts
@Entity({name: 'user(테이블)' schema: '데이터베이스명'})
import { Column, Entity, PrimaryColumn } from 'typeorm';
@Entity({ name: 'user', schema: 'nestbook' }) <------ 수정
export class UserEntiy {
@PrimaryColumn()
id: string;
@Column({ length: 30 })
name: string;
@Column({ length: 60 })
email: string;
@Column({ length: 30 })
password: string;
@Column({ length: 60 })
signupVerifyToken: string;
}