重构现代化 FastAPI 后端项目框架

This commit is contained in:
2026-01-21 16:50:57 +08:00
parent 9e06e68a15
commit c56f2fd1db
352 changed files with 176 additions and 70 deletions

View File

@@ -0,0 +1,14 @@
-- [SOURCES]
create type sources_type as enum ('CONCEN', 'MASS', 'FLOWPACED', 'SETPOINT');
create table sources
(
node varchar(32) primary key references _node(id)
, s_type sources_type not null
, strength float8 not null
, pattern varchar(32) references _pattern(id)
);
-- delete when delete node
-- unset pattern when delete pattern