Answers for "typeorm package autoSchemaSync"

1

typeorm autoschemasync

TypeORM createConnection options

The autoSchemaSync field has been renamed to synchronize, so instead of
{
  type, host, port, username, password, database,
  entities: [Customer],
  autoSchemaSync: true
}

write:

{
  type, host, port, username, password, database,
  entities: [Customer],
  synchronize: true
}
Posted by: Guest on March-15-2021

Browse Popular Code Answers by Language