From e2d0f1fff203a2de6ab8378729261d06e3cb9bde Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 26 Jan 2018 17:22:07 -0500 Subject: [PATCH] updates --- master_data_nodes.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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