We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afea72 commit afa5de1Copy full SHA for afa5de1
src/driver/postgres/PostgresDriver.ts
@@ -1485,8 +1485,8 @@ export class PostgresDriver implements Driver {
1485
}
1486
1487
compareTableIndexTypes = (indexA: IndexMetadata, indexB: TableIndex) => {
1488
- const normalizedA = indexA.isSpatial ? "gist" : indexA.type ?? "btree"
1489
- const normalizedB = indexB.isSpatial ? "gist" : indexB.type ?? "btree"
+ const normalizedA = indexA.isSpatial ? "gist" : (indexA.type ?? "btree")
+ const normalizedB = indexB.isSpatial ? "gist" : (indexB.type ?? "btree")
1490
1491
return normalizedA.toLowerCase() === normalizedB.toLowerCase()
1492
0 commit comments