Skip to content

Commit

Permalink
feat: CheckIn cdk as primary
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Jan 16, 2025
1 parent d2c4faf commit ae9bd68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/__init__.py
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ class Meta:


class CheckIn(Model):
cdk = ForeignKeyField(Bill, field="cdk", backref="check_in")
cdk = ForeignKeyField(Bill, field="cdk", backref="check_in", primary_key=True)
activated_at = DateTimeField()
application = CharField()
module = CharField()

0 comments on commit ae9bd68

Please sign in to comment.