aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/iciql/TableInspector.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/iciql/TableInspector.java')
-rw-r--r--src/com/iciql/TableInspector.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/iciql/TableInspector.java b/src/com/iciql/TableInspector.java
index e682f2f..dc28956 100644
--- a/src/com/iciql/TableInspector.java
+++ b/src/com/iciql/TableInspector.java
@@ -120,7 +120,8 @@ public class TableInspector {
IndexInspector info = new IndexInspector(rs);
if (info.type.equals(IndexType.UNIQUE)) {
String name = info.name.toLowerCase();
- if (name.startsWith("primary") || name.startsWith("sys_idx_sys_pk")) {
+ if (name.startsWith("primary") || name.startsWith("sys_idx_sys_pk")
+ || name.startsWith("sql")) {
// skip primary key indexes
continue;
}