hasura / hasura/graphql-engine
Add the ability to set Deferrable/Deferred from console.
Open
c/console
estimate/M
k/enhancement
p/longterm
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
The equivalent in `pgAdmin` is these two checks

right now we have to go and manually edit the generated migration to add `DEFERRABLE INITIALLY DEFERRED`.
Example Migration:
```
ALTER TABLE public.xxx
ADD CONSTRAINT xxx_id_fkey FOREIGN KEY (y_id)
REFERENCES public.yyy (id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
DEFERRABLE INITIALLY DEFERRED;
```
Contributor guide
Assessment
This issue has not been assessed yet.