重构现代化 FastAPI 后端项目框架
This commit is contained in:
9
resources/sql/create/29.scada_device.sql
Normal file
9
resources/sql/create/29.scada_device.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
create type scada_device_type as enum ('PRESSURE', 'DEMAND', 'QUALITY', 'LEVEL', 'FLOW', 'UNKNOWN');
|
||||
|
||||
create table scada_device
|
||||
(
|
||||
id text primary key
|
||||
, name text
|
||||
, address text
|
||||
, sd_type scada_device_type
|
||||
);
|
||||
Reference in New Issue
Block a user