Files
TJWaterServerBinary/resources/sql/create/20.mixing.sql

13 lines
234 B
SQL

-- [MIXING]
create type mixing_model as enum ('MIXED', '2COMP', 'FIFO', 'LIFO');
create table mixing
(
tank varchar(32) primary key references tanks(id)
, model mixing_model not null
, value float8
);
-- delete when delete tank