feat: add collation to maria db indexes query and analyser

This commit is contained in:
Nybkox
2024-12-03 19:28:16 +01:00
parent 64a58252e5
commit 6b40190097
2 changed files with 6 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ class Analyser extends DatabaseAnalyser {
columns: indexes.rows
.filter(col => col.tableName == idx.tableName && col.constraintName == idx.constraintName)
.map(col => ({
..._.pick(col, ['columnName']),
..._.pick(col, ['columnName', 'isDescending']),
})),
})),