重构现代化 FastAPI 后端项目框架
This commit is contained in:
12
resources/sql/create/20.mixing.sql
Normal file
12
resources/sql/create/20.mixing.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- [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
|
||||
Reference in New Issue
Block a user