Skip to content

Commit

Permalink
Fix address field in raw query (#6226)
Browse files Browse the repository at this point in the history
The old address field has been deprecated but the raw query in
company.repository hasn't been updated accordingly
  • Loading branch information
bosiraphael authored Jul 11, 2024
1 parent 5ad287b commit faf462f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit faf462f

Please sign in to comment.