mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 18:46:00 +00:00
oracle: fixed analysing constraints
This commit is contained in:
@@ -5,7 +5,6 @@ select i.table_name as "tableName",
|
||||
i.index_type as "indexType",
|
||||
i.uniqueness as "Unique",
|
||||
ic.column_name as "columnName",
|
||||
ic.column_position as "postion",
|
||||
ic.descend as "descending"
|
||||
from all_ind_columns ic, all_indexes i
|
||||
where INDEX_OWNER = '$owner' AND ic.index_owner = i.owner
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module.exports = `
|
||||
select constraint_name
|
||||
select constraint_name as "constraintName"
|
||||
from all_constraints
|
||||
where OWNER='$owner' and constraint_type = 'U'
|
||||
where owner='$owner' and constraint_type = 'U'
|
||||
and constraint_name =OBJECT_ID_CONDITION
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user