mirror of
1
Fork 0
forgejo/models/db
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711)
* Move some repository related code into sub package

* Move more repository functions out of models

* Fix lint

* Some performance optimization for webhooks and others

* some refactors

* Fix lint

* Fix

* Update modules/repository/delete.go

Co-authored-by: delvh <dev.lh@web.de>

* Fix test

* Merge

* Fix test

* Fix test

* Fix test

* Fix test

Co-authored-by: delvh <dev.lh@web.de>
2022-06-06 16:01:49 +08:00
..
install Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
paginator Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
context.go Estimate Action Count in Statistics (#19775) 2022-05-21 14:50:50 -04:00
convert.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
engine.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
error.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 2022-05-08 15:46:34 +02:00
index.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
list_options.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
log.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
name.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
search.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
sequence.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
sql_postgres_with_schema.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00