mirror of https://gitlab.com/pamhyr/pamhyr2
Scenario: Minor fix at scenario creation and deletion.
parent
e6d3564d9b
commit
7774d2d7af
|
|
@ -313,7 +313,7 @@ class Pollutants(SQLSubModel):
|
|||
CREATE TABLE pollutants{ext}(
|
||||
{cls.create_db_add_pamhyr_id()},
|
||||
deleted BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
name TEXT NOT NULL,
|
||||
{Scenario.create_db_add_scenario()},
|
||||
{Scenario.create_db_add_scenario_fk()}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -173,11 +173,12 @@ class Scenario(SQLSubModel):
|
|||
|
||||
tables = [
|
||||
# Adists
|
||||
"OutputRKAdists",
|
||||
"boundary_condition_adists", "boundary_condition_data_adists"
|
||||
"output_rk_adists",
|
||||
"boundary_condition_adists", "boundary_condition_data_adists",
|
||||
"lateral_contribution_adists", "lateral_contribution_data_adists",
|
||||
"initial_conditions_adists",
|
||||
"d90_adists", "dif_adists",
|
||||
"pollutants", "pollutants_characteristics",
|
||||
# Hydraulic
|
||||
"additional_files",
|
||||
"boundary_condition", "boundary_condition_data",
|
||||
|
|
|
|||
Loading…
Reference in New Issue