TypeOrmModule.forRoot({
type: 'mysql',
host: process.env.DB_HOST,
port: 3306,
username: process.env.DB_USERNAME,
password: process.env.DB_SECRET,
database: process.env.DB_NAME,
synchronize: false,
autoLoadEntities: true,
logging: process.env.NODE_ENV === 'development' ? true : false,
legacySpatialSupport: false
}),
TypeOrmModule에 legacySpatialSupport: false 속성을 추가하여 해결