typeorm autoschemasync code example
Example: 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
}