-- basic information of bay

-- DROP TABLE IF EXISTS PUBLIC.BAY;

CREATE TABLE PUBLIC.BAY (
    ID SERIAL PRIMARY KEY,
  	NAME VARCHAR(64) NOT NULL DEFAULT '',
  	TYPE VARCHAR(64) NOT NULL DEFAULT '',
  	FROM_NODE JSONB NOT NULL DEFAULT '[]', -- uuids
  	TO_NODE JSONB NOT NULL DEFAULT '[]' -- uuids
);