Skip to content

Commit 15f7efe

Browse files
authored
Merge pull request internetarchive#11083 from internetarchive/update-bestbook-primary-key
Update `Bestbook.PRIMARY_KEY` to production value
2 parents 5d4be29 + 60bf3d6 commit 15f7efe

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)