]>
Git — Sourcephile - gargantext.git/blob - devops/postgres/upgrade/0.0.5.9.sql
1 create table public.
node_stories (
3 node_id
INTEGER NOT NULL,
4 archive jsonb
DEFAULT '{}'::jsonb NOT NULL,
6 FOREIGN KEY (node_id
) REFERENCES public.
nodes(id) ON DELETE CASCADE
8 ALTER TABLE public.node_stories
OWNER TO gargantua
;
10 CREATE UNIQUE INDEX ON public.node_stories
USING btree (node_id
);