Replace all "numeric" with "float8"

This commit is contained in:
WQY\qiong
2023-05-05 21:18:56 +08:00
parent 62b086d939
commit adeb9dd031
21 changed files with 37 additions and 37 deletions

View File

@@ -5,9 +5,9 @@ create table pumps
id varchar(32) primary key references _link(id)
, node1 varchar(32) references _node(id) not null
, node2 varchar(32) references _node(id) not null
, power numeric
, power float8
, head varchar(32) references _curve(id)
, speed numeric
, speed float8
, 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)