0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-20 07:13:36 +01:00
gitea/models/migrations
Giteabot aaf35ee49c
Refactor system setting (#27000) (#27452)
Backport #27000 by @wxiaoguang

This PR reduces the complexity of the system setting system.

It only needs one line to introduce a new option, and the option can be
used anywhere out-of-box.

It is still high-performant (and more performant) because the config
values are cached in the config system.


![image](https://github.com/go-gitea/gitea/assets/2114189/f8cdd743-1145-41ab-9f8f-3996aa97d440)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-10-05 10:37:59 +00:00
..
base
fixtures Fix more yaml lint errors (#27284) (#27288) 2023-09-26 19:00:12 +02:00
v1_6
v1_7
v1_8
v1_9
v1_10
v1_11
v1_12
v1_13
v1_14
v1_15
v1_16
v1_17
v1_18 Refactor system setting (#27000) (#27452) 2023-10-05 10:37:59 +00:00
v1_19
v1_20
v1_21 Add Index to action.user_id (#27403) (#27425) 2023-10-04 08:53:00 +02:00
migrations.go Add Index to action.user_id (#27403) (#27425) 2023-10-04 08:53:00 +02:00