postgresql1 ORM에서 type이 바뀌면 DB에서 Data가 유지될까? 실험 환경 DB: postgreSQL ORM: typeorm (GraphQL) 코드 타입 변경전 import { ObjectType, Field } from '@nestjs/graphql'; import { Entity, PrimaryGeneratedColumn, Column, BaseEntity } from 'typeorm'; @ObjectType() @Entity('user') export class User extends BaseEntity { @PrimaryGeneratedColumn() id: number; @Column({ length: 32 }) @Field() username: string; @Column({ unique: true }) @Field() email: string; @Colu.. 2021. 7. 1. 이전 1 다음