Lower tank overflow enum
This commit is contained in:
@@ -5,8 +5,8 @@ from .s24_coordinates import *
|
|||||||
import utility
|
import utility
|
||||||
|
|
||||||
|
|
||||||
OVERFLOW_YES = 'YES'
|
OVERFLOW_YES = 'yes'
|
||||||
OVERFLOW_NO = 'NO'
|
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:
|
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:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
-- [TANKS]
|
-- [TANKS]
|
||||||
|
|
||||||
CREATE TYPE TANKS_OVERFLOW AS ENUM ('YES', 'NO');
|
CREATE TYPE TANKS_OVERFLOW AS ENUM ('yes', 'no');
|
||||||
|
|
||||||
CREATE TABLE TANKS
|
CREATE TABLE TANKS
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user