diff --git a/master_data_nodes.md b/master_data_nodes.md index c8aa15a..c209aa2 100644 --- a/master_data_nodes.md +++ b/master_data_nodes.md @@ -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 ) \ No newline at end of file