Files
TJWaterServer/script/sql/create/18.sources.sql
2022-10-09 11:06:19 +08:00

12 lines
279 B
SQL

-- [SOURCES]
create type sources_type as enum ('concen', 'mass', 'flowpaced', 'setpoint');
create table sources
(
node varchar(32) primary key references _node(id)
, type sources_type not null
, strength numeric not null
, time_pattern varchar(32) references _pattern(id)
);