Skip to content

Commit afa5de1

Browse files
committed
fix formatting
1 parent 1afea72 commit afa5de1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/driver/postgres/PostgresDriver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,8 +1485,8 @@ export class PostgresDriver implements Driver {
14851485
}
14861486

14871487
compareTableIndexTypes = (indexA: IndexMetadata, indexB: TableIndex) => {
1488-
const normalizedA = indexA.isSpatial ? "gist" : indexA.type ?? "btree"
1489-
const normalizedB = indexB.isSpatial ? "gist" : indexB.type ?? "btree"
1488+
const normalizedA = indexA.isSpatial ? "gist" : (indexA.type ?? "btree")
1489+
const normalizedB = indexB.isSpatial ? "gist" : (indexB.type ?? "btree")
14901490

14911491
return normalizedA.toLowerCase() === normalizedB.toLowerCase()
14921492
}

0 commit comments

Comments
 (0)