fixed oracle index analyser

This commit is contained in:
Jan Prochazka
2024-12-10 16:54:31 +01:00
parent e7e3c307fc
commit 5278e5da0c

View File

@@ -114,7 +114,8 @@ class Analyser extends DatabaseAnalyser {
indexes.rows.filter( indexes.rows.filter(
idx => idx =>
idx.tableName == newTable.pureName && idx.tableName == newTable.pureName &&
!uniqueNames.rows.find(x => x.constraintName == idx.constraintName) !uniqueNames.rows.find(x => x.constraintName == idx.constraintName) &&
!idx.constraintName.startsWith('SYS_C')
), ),
'constraintName' 'constraintName'
).map(idx => ({ ).map(idx => ({