Ehance pump schema

This commit is contained in:
WQY\qiong
2022-10-21 21:41:35 +08:00
parent 99f673c98e
commit 30e6813c0c

View File

@@ -10,4 +10,5 @@ create table pumps
, speed numeric
, pattern varchar(32) references _pattern(id)
, check (power is not null or head is not null)
, check ((power is not null and head is not null) is false)
);