Fix pg numeric sort (#7261)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2024-12-05 14:11:13 +07:00
committed by GitHub
parent a6c6c79f3a
commit 33295a9420
2 changed files with 14 additions and 1 deletions
+7
View File
@@ -64,6 +64,13 @@ export async function retryTxn (
})
}
export const NumericTypes = [
core.class.TypeNumber,
core.class.TypeTimestamp,
core.class.TypeDate,
core.class.Collection
]
export async function createTables (client: postgres.Sql, domains: string[]): Promise<void> {
const filtered = domains.filter((d) => !loadedDomains.has(d))
if (filtered.length === 0) {