-- [tanks] create type tj.tanks_overflow as enum ( 'yes' , 'no' ); create table tj.tanks ( id varchar(32) primary key references tj.node(id) , elevation numeric not null , initlevel numeric not null , minlevel numeric not null , maxlevel numeric not null , diameter numeric not null , minvol numeric not null , volcurve varchar(32) references tj.curve(id) , overflow tj.tanks_overflow );