Skip to content

Commit 4edd675

Browse files
committed
fix: deleting admin usage logs
1 parent cee4d71 commit 4edd675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/db/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class User(Base):
124124
created_at: Mapped[dt] = mapped_column(DateTime(timezone=True), default_factory=lambda: dt.now(tz.utc), init=False)
125125
username: Mapped[str] = mapped_column(CaseSensitiveString(128), unique=True, index=True)
126126
node_usages: Mapped[List["NodeUserUsage"]] = relationship(
127-
back_populates="user", cascade="all, delete-orphan", init=False
127+
back_populates="user", cascade="all, delete-orphan", init=False,
128128
)
129129
notification_reminders: Mapped[List["NotificationReminder"]] = relationship(
130130
back_populates="user", cascade="all, delete-orphan", init=False

0 commit comments

Comments
 (0)