HydraulicStructure: Fix KP db type.

setup.py
Pierre-Antoine Rouby 2023-12-06 14:49:50 +01:00
parent 0307927fa9
commit 4a43653d7f
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ class HydraulicStructure(SQLSubModel):
id INTEGER NOT NULL PRIMARY KEY,
name TEXT NOT NULL,
enabled BOOLEAN NOT NULL,
input_kp INTEGER,
output_kp INTEGER,
input_kp REAL NOT NULL,
output_kp REAL NOT NULL,
input_reach INTEGER,
output_reach INTEGER,
FOREIGN KEY(input_reach) REFERENCES river_reach(id),