Lower tank overflow enum

This commit is contained in:
wqy
2022-09-17 09:49:07 +08:00
parent efe5b796f3
commit 435411356f
2 changed files with 3 additions and 3 deletions

View File

@@ -5,8 +5,8 @@ from .s24_coordinates import *
import utility
OVERFLOW_YES = 'YES'
OVERFLOW_NO = 'NO'
OVERFLOW_YES = 'yes'
OVERFLOW_NO = 'no'
def add_tank(name: str, id: str, x: float, y: float, elevation: float, init_level: float = 0, min_level: float = 0, max_level: float = 0, diameter: float = 0, min_vol: float = 0) -> ChangeSet:

View File

@@ -1,6 +1,6 @@
-- [TANKS]
CREATE TYPE TANKS_OVERFLOW AS ENUM ('YES', 'NO');
CREATE TYPE TANKS_OVERFLOW AS ENUM ('yes', 'no');
CREATE TABLE TANKS
(