When schema name with quote, then the CREATE TABLE will be formatted to single line, however if remove the schema quote then result is just expected.
Version: 5.4
Duplicated with https://github.com/darold/pgFormatter/issues/227, seems it appears again in the new version.
Actual Result:
CREATE TABLE "{Tenant_Schema}"."PatientDentalChartHistory" ("Id" uuid NOT NULL, "IsDeleted" bool NOT NULL, "CreateDate" timestamptz NOT NULL, "UpdateDate" timestamptz NOT NULL, "ClinicIdentifier" int8 NOT NULL, CONSTRAINT "PK_PatientDentalChartHistory" PRIMARY KEY ("Id")
);
Expected Result:
CREATE TABLE "{Tenant_Schema}"."PatientDentalChartHistory" (
"Id" uuid NOT NULL,
"IsDeleted" bool NOT NULL,
"CreateDate" timestamptz NOT NULL,
"UpdateDate" timestamptz NOT NULL,
"ClinicIdentifier" int8 NOT NULL,
CONSTRAINT "PK_PatientDentalChartHistory" PRIMARY KEY ("Id")
);
When schema name with quote, then the CREATE TABLE will be formatted to single line, however if remove the schema quote then result is just expected. Version: 5.4 Duplicated with https://github.com/darold/pgFormatter/issues/227, seems it appears again in the new version.
Actual Result:
Expected Result:
Kindly please take a look with many thanks~