Answer the question
In order to leave comments, you need to log in
How to change reference to another table in PostgreSQL?
Hello!
I have a table with columns:
create table app_public.category (
id uuid primary key default gen_random_uuid(),
parent_id uuid default null
);
parent_id uuid references app_public.category on delete cascade
? Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question