6 Commits (b18b3d1a2e2951e7df5fbd4a6a4e61c118faa843)

Author SHA1 Message Date
6543 e83f2cbbac
Add doctor dbconsistency fix to delete repos with no owner (#27290)
to address #27273
replace #24873
9 months ago
JakobDev 3dc0c962bf
Delete repos of org when purge delete user (#27273)
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.
9 months ago
Lunny Xiao 9852c92e9a
Remove unnecessary parameter (#27671) 9 months ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103)
Part of #27065

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
9 months ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083)
Next step of #27065
10 months ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
10 months ago