This commit is contained in:
Paul Trowbridge 2018-01-26 17:22:07 -05:00
parent b0db7d06a9
commit e2d0f1fff2
1 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,11 @@ CREATE TABLE mast.node
CREATE TABLE acct.accm
(
id bigint PRIMARY KEY GENERATED BY DEFAULT
id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY
,nam text
,
--reference to node ids
--should be limited to certain types of nodes, like location, product line, fsline, perhaps an enum?
,nodes bigint[]
--node attributes pooled here
,doc jsonb
)