mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 01:03:58 +00:00
fixed oracle index analyser
This commit is contained in:
@@ -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 => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user