Open birkmose opened 4 months ago
For reference:
pg:postgres@=> \d testref
table "public.testref"
Name | Type | Nullable | Default
------+------+----------+---------
id | uuid | "NO" |
Indexes:
"testref_pkey" PRIMARY_KEY, UNIQUE, btree (id)
Foreign-key constraints:
"fk_testref_test_id" FOREIGN KEY (id) REFERENCES test(id) ON UPDATE NO ACTION ON DELETE NO ACTION
pg:postgres@=>
$ psql postgres://postgres:P4ssw0rd@localhost
psql (16.1)
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off)
Type "help" for help.
postgres=# \d testref
Table "public.testref"
Column | Type | Collation | Nullable | Default
--------+------+-----------+----------+---------
id | uuid | | not null |
Indexes:
"testref_pkey" PRIMARY KEY, btree (id)
Foreign-key constraints:
"fk_testref_test_id" FOREIGN KEY (id) REFERENCES test(id)
postgres=#
Given example DDL:
I try to display
TestRef
- but do not observe theFK_TestRef_Test_Id
as expected: