Commit graph

2 commits

Author SHA1 Message Date
JakobDev
3dc0c962bf
Delete repos of org when purge delete user ()
Fixes https://codeberg.org/forgejo/forgejo/issues/1514

I had to remove `RenameOrganization` to avoid circular import.

We should really add some foreign keys to the database.
2023-10-19 13:16:11 +00:00
Zettat123
f3ed0ef692
Fix bugs in LFS meta garbage collection ()
This PR

- Fix . Replace `time.Time` with `timeutil.TimeStamp`
- Fix . Add missing `xorm:"extends"` to `CountLFSMetaObject` for
LFS meta object query
- Add a unit test for LFS meta object garbage collection
2023-07-26 07:02:53 +00:00