Skip to content

Commit 60bf3d6

Browse files
authored
Update Bestbook.PRIMARY_KEY
1 parent baf7303 commit 60bf3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlibrary/core/bestbook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Bestbook(db.CommonExtras):
77
"""Best book award operations"""
88

99
TABLENAME = "bestbooks"
10-
PRIMARY_KEY = "nomination_id"
10+
PRIMARY_KEY = "award_id"
1111
ALLOW_DELETE_ON_CONFLICT = False
1212

1313
class AwardConditionsError(Exception):

0 commit comments

Comments
 (0)