Skip to content

Commit e25d3dc

Browse files
committed
[FIX] Switch superficial PKs on image_data
* Switch the superficial PKs on image_data to be more practical in usage
1 parent 9d718a9 commit e25d3dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

carepoint/models/cph/image_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ class ImageData(Carepoint.BASE):
1818

1919
image_id = Column(
2020
Integer,
21-
# Column is not actually a primary key in DB.
22-
primary_key=True,
2321
)
2422
image_type_cn = Column(
2523
Integer,
24+
# Column is not actually a primary key in DB.
25+
primary_key=True,
2626
)
2727
related_id = Column(
2828
Integer,

0 commit comments

Comments
 (0)