Skip to content

Commit

Permalink
Fix naming of action_values
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm committed Aug 6, 2024
1 parent bdf6152 commit 5b4b733
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions threedi_schema/domain/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class ControlMemory(Base):
upper_threshold = Column(Float)
lower_threshold = Column(Float)
action_type = Column(VarcharEnum(constants.ControlTableActionTypes))
action_value1 = Column(Float)
action_value1 = Column(Float)
action_value_1 = Column(Float)
action_value_2 = Column(Float)
target_type = Column(VarcharEnum(constants.StructureControlTypes))
target_id = Column(Integer)
is_active = Column(Boolean)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def upgrade():
# populate new tables
populate_control_measure_map()
populate_control_measure_location()
# # rename after populating control_measure_map
# rename after populating control_measure_map
reformat_action_table()
reformat_action_value()
add_control_geometries('table_control')
Expand Down

0 comments on commit 5b4b733

Please sign in to comment.