Skip to content

Commit

Permalink
Fix typo in model
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm committed Aug 6, 2024
1 parent 5b4b733 commit c90b626
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion threedi_schema/domain/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ControlMeasureLocation(Base):
class ControlMeasureMap(Base):
__tablename__ = "control_measure_map"
id = Column(Integer, primary_key=True)
controle_measure_location_id = Column(Integer)
control_measure_location_id = Column(Integer)
control_type = Column(Text)
control_id = Column(Integer)
weight = Column(Float)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ def fix_geometry_columns():


def upgrade():
# TODO: rename some text fields ?
# create new tables and rename existing tables
create_new_tables(ADD_TABLES)
rename_tables(RENAME_TABLES)
Expand Down

0 comments on commit c90b626

Please sign in to comment.