mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
Fix pg numeric sort (#7261)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user