@chenchaolong/plugin-trade-compliance-workbench 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,7 +32,7 @@ BEGIN
|
|
|
32
32
|
AND index_meta.indisunique
|
|
33
33
|
AND index_class.relname <> 'UQ_tcw_controlled_goods_active_business_key'
|
|
34
34
|
AND ARRAY(
|
|
35
|
-
SELECT attribute.attname
|
|
35
|
+
SELECT attribute.attname::text
|
|
36
36
|
FROM unnest(index_meta.indkey) WITH ORDINALITY AS key_column(attnum, ordinal)
|
|
37
37
|
INNER JOIN pg_attribute attribute ON attribute.attrelid = index_meta.indrelid AND attribute.attnum = key_column.attnum
|
|
38
38
|
WHERE key_column.ordinal <= index_meta.indnkeyatts
|
|
@@ -53,7 +53,7 @@ BEGIN
|
|
|
53
53
|
AND index_meta.indisunique
|
|
54
54
|
AND index_class.relname <> 'UQ_tcw_sanctioned_company_active_business_key'
|
|
55
55
|
AND ARRAY(
|
|
56
|
-
SELECT attribute.attname
|
|
56
|
+
SELECT attribute.attname::text
|
|
57
57
|
FROM unnest(index_meta.indkey) WITH ORDINALITY AS key_column(attnum, ordinal)
|
|
58
58
|
INNER JOIN pg_attribute attribute ON attribute.attrelid = index_meta.indrelid AND attribute.attnum = key_column.attnum
|
|
59
59
|
WHERE key_column.ordinal <= index_meta.indnkeyatts
|
|
@@ -78,7 +78,7 @@ BEGIN
|
|
|
78
78
|
AND index_class.relname = 'UQ_tcw_controlled_goods_active_business_key'
|
|
79
79
|
AND index_meta.indisunique
|
|
80
80
|
AND ARRAY(
|
|
81
|
-
SELECT attribute.attname
|
|
81
|
+
SELECT attribute.attname::text
|
|
82
82
|
FROM unnest(index_meta.indkey) WITH ORDINALITY AS key_column(attnum, ordinal)
|
|
83
83
|
INNER JOIN pg_attribute attribute ON attribute.attrelid = index_meta.indrelid AND attribute.attnum = key_column.attnum
|
|
84
84
|
WHERE key_column.ordinal <= index_meta.indnkeyatts
|
|
@@ -107,7 +107,7 @@ BEGIN
|
|
|
107
107
|
AND index_class.relname = 'UQ_tcw_sanctioned_company_active_business_key'
|
|
108
108
|
AND index_meta.indisunique
|
|
109
109
|
AND ARRAY(
|
|
110
|
-
SELECT attribute.attname
|
|
110
|
+
SELECT attribute.attname::text
|
|
111
111
|
FROM unnest(index_meta.indkey) WITH ORDINALITY AS key_column(attnum, ordinal)
|
|
112
112
|
INNER JOIN pg_attribute attribute ON attribute.attrelid = index_meta.indrelid AND attribute.attnum = key_column.attnum
|
|
113
113
|
WHERE key_column.ordinal <= index_meta.indnkeyatts
|