feat: Update SoundPlayed model to allow nullable user_id

This commit is contained in:
JSC
2025-07-09 14:00:55 +02:00
parent 7d224d1db7
commit 4f702d3302
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ class SoundPlayed(db.Model):
user_id: Mapped[int] = mapped_column(
Integer,
ForeignKey("user.id"),
nullable=False,
nullable=True,
)
sound_id: Mapped[int] = mapped_column(
Integer,