developerworks / hierarchy-data-closure-table

This is a mysql and postgresql store procedure and trigger implementation of closure table in RDBMS about hierarchy data model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error the "prefix_nodes_id_seq" relationship

bylli79 opened this issue · comments

if I execute the following sqll code:

CREATE TABLE public.prefix_nodes
(
   id integer NOT NULL DEFAULT nextval ('prefix_nodes_id_seq' :: regclass),

I return as an error the "prefix_nodes_id_seq" relationship does not exist.
I'm using postgresql.
Can you give me some indication?

Thank you