feat: Update SoundPlayed model to allow nullable user_id
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user