Description
I have a PostgreSQL table where I've added the following constraint check:
ALTER TABLE playlistitem
ADD CONSTRAINT only_one_reference CHECK (
(chapter IS NOT NULL)::INT + (episode IS NOT NULL)::INT + (playlist IS NOT NULL)::INT = 1
);
I can not figure out how to view this constraint in the TablePlus UI. The table structure doesn't show it. And clicking "Info" (to get the table definition in SQL) doesn't show it either.
Is it possible to view this in the UI?
Version Details
- TablePlus Version 6.8.2 (656) on MacOS Tahoe 26.3.1
- PostgreSQL 14.22 (on remote server, connecting over SSH)
Description
I have a PostgreSQL table where I've added the following constraint check:
I can not figure out how to view this constraint in the TablePlus UI. The table structure doesn't show it. And clicking "Info" (to get the table definition in SQL) doesn't show it either.
Is it possible to view this in the UI?
Version Details