Skip to content

Commit

Permalink
Rename Tags table to tags (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm authored Jan 24, 2025
1 parent 31c0bd1 commit 5123bac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Changelog of threedi-schema
0.300.1 (unreleased)
--------------------

- Nothing changed yet.
- Fix incorrect naming of table Tags as tag instead of tags in migration 223


0.300.0 (2025-01-24)
Expand Down
2 changes: 1 addition & 1 deletion threedi_schema/domain/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ class ExchangeLine(Base):


class Tags(Base):
__tablename__ = "tag"
__tablename__ = "tags"
id = Column(Integer, primary_key=True)
description = Column(Text)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
Column("tags", Text),
Column("distribution", Text)
],
"tag": [
"tags": [
Column("description", Text)
]
}
Expand Down

0 comments on commit 5123bac

Please sign in to comment.