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:
@ -67,7 +67,7 @@ export class CompanyRepository {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await this.workspaceDataSourceService.executeRawQuery(
|
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)`,
|
VALUES ($1, $2, $3, $4, $5)`,
|
||||||
[
|
[
|
||||||
companyToCreate.id,
|
companyToCreate.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user