Watch
1
1
Fork
You've already forked gamesync
0
Code Issues 22 Pull requests Projects Releases Packages Wiki Activity Pipelines

soft deletion for repos #14

Open
opened 2026-08-11 16:03:23 +00:00 by PatrikBures · 0 comments
Owner

instead of directly deleting the row. populate the column deleted_at with the current datetime and update the repo_name with deleted_OLD_NAME. then the garbage collector deletes all repos where deleted_at > 30 days (configurable by env var).

this would require the get repos endpoint to be able to show repos which have deleted at as they would be hidden by default. and also an endpoint + cmd for restoring them.

instead of directly deleting the row. populate the column deleted_at with the current datetime and update the repo_name with deleted_OLD_NAME. then the garbage collector deletes all repos where deleted_at > 30 days (configurable by env var). this would require the get repos endpoint to be able to show repos which have deleted at as they would be hidden by default. and also an endpoint + cmd for restoring them.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
PatrikBures/gamesync#14
No description provided.