-- [mixing]

create type tj.mixing_model as enum
(
  'mixed'
, '2comp'
, 'fifo'
, 'lifo'
);

create table tj.mixing
(
  tank  varchar(32) primary key references tj.tanks(id)
, model tj.mixing_model not null
, value numeric
);
