Skip to content

Commit 4ce80d9

Browse files
committed
Derive index uniqueness from the "indexes" table
1 parent 54e5919 commit 4ce80d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ora_migrator--0.9.1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ BEGIN
22802280
old_t := '';
22812281
old_c := '';
22822282
FOR loc_s, loc_t, ind_name, uniq, colpos, des, is_expr, expr IN
2283-
SELECT schema, table_name, i.index_name, i.uniqueness, i.position, i.descend, i.is_expression, i.column_name
2283+
SELECT schema, table_name, i.index_name, ind.uniqueness, i.position, i.descend, i.is_expression, i.column_name
22842284
FROM index_columns i
22852285
JOIN indexes ind
22862286
USING (schema, table_name, index_name)

0 commit comments

Comments
 (0)