마이그레이션 22의 name 배열 비교 캐스트를 교정
This commit is contained in:
parent
8931e64b49
commit
5a74302e19
1 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ BEGIN
|
|||
WHERE constraint_meta.conrelid = 'app.case_profile'::regclass
|
||||
AND constraint_meta.contype = 'u'
|
||||
AND ARRAY(
|
||||
SELECT attribute_meta.attname
|
||||
SELECT attribute_meta.attname::text
|
||||
FROM unnest(constraint_meta.conkey) WITH ORDINALITY AS key_column(attnum, ordinality)
|
||||
JOIN pg_attribute AS attribute_meta
|
||||
ON attribute_meta.attrelid = constraint_meta.conrelid
|
||||
|
|
@ -87,7 +87,7 @@ BEGIN
|
|||
WHERE constraint_meta.conrelid = 'app.case_profile'::regclass
|
||||
AND constraint_meta.contype = 'u'
|
||||
AND ARRAY(
|
||||
SELECT attribute_meta.attname
|
||||
SELECT attribute_meta.attname::text
|
||||
FROM unnest(constraint_meta.conkey) WITH ORDINALITY AS key_column(attnum, ordinality)
|
||||
JOIN pg_attribute AS attribute_meta
|
||||
ON attribute_meta.attrelid = constraint_meta.conrelid
|
||||
|
|
@ -114,7 +114,7 @@ BEGIN
|
|||
WHERE constraint_meta.conrelid = 'app.case_profile'::regclass
|
||||
AND constraint_meta.contype = 'u'
|
||||
AND ARRAY(
|
||||
SELECT attribute_meta.attname
|
||||
SELECT attribute_meta.attname::text
|
||||
FROM unnest(constraint_meta.conkey) WITH ORDINALITY AS key_column(attnum, ordinality)
|
||||
JOIN pg_attribute AS attribute_meta
|
||||
ON attribute_meta.attrelid = constraint_meta.conrelid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue