mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 00:03:07 +00:00
fix: cast pg char columns to text in FK schema query
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
5027642b83
commit
fec09b6e3d
@@ -1674,8 +1674,8 @@ async fn get_datatable_full_schema(
|
||||
ns_ref.nspname AS ref_schema,
|
||||
c_ref.relname AS ref_table,
|
||||
att_ref.attname AS ref_column,
|
||||
con.confdeltype AS on_delete,
|
||||
con.confupdtype AS on_update
|
||||
con.confdeltype::text AS on_delete,
|
||||
con.confupdtype::text AS on_update
|
||||
FROM pg_catalog.pg_constraint con
|
||||
JOIN pg_catalog.pg_class c ON con.conrelid = c.oid
|
||||
JOIN pg_catalog.pg_namespace ns ON c.relnamespace = ns.oid
|
||||
|
||||
Reference in New Issue
Block a user