Fix address field in raw query (#6226)

The old address field has been deprecated but the raw query in
company.repository hasn't been updated accordingly
This commit is contained in:
bosiraphael
2024-07-11 19:48:15 +02:00
committed by GitHub
parent 5ad287baf5
commit faf462ffe4

View File

@ -67,7 +67,7 @@ export class CompanyRepository {
);
await this.workspaceDataSourceService.executeRawQuery(
`INSERT INTO ${dataSourceSchema}.company (id, "domainName", name, address, position)
`INSERT INTO ${dataSourceSchema}.company (id, "domainName", name, "addressAddressCity", position)
VALUES ($1, $2, $3, $4, $5)`,
[
companyToCreate.id,