You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/migrations
a1012112796 4aba8a6a5f
Split lfs size from repository size (#22900)
releated to #21820

- Split `Size` in repository table as two new colunms, one is `GitSize`
for git size, the other is `LFSSize` for lfs data. still store full size
in `Size` colunm.
- Show full size on ui, but show each of them by a `title`;  example:

![image](https://user-images.githubusercontent.com/25342410/218636251-e200f085-d7e7-4a25-9ff1-b586a63e07a9.png)

- Return full size in api response.

---------

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: DmitryFrolovTri <23313323+DmitryFrolovTri@users.noreply.github.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2 years ago
..
base Refactor path & config system (#25330) 2 years ago
fixtures Remove wrongly added column on migration test fixtures (#23456) 2 years ago
v1_6 Update go dev dependencies (#22064) 2 years ago
v1_7 Update go dev dependencies (#22064) 2 years ago
v1_8 Update go dev dependencies (#22064) 2 years ago
v1_9 Update go dev dependencies (#22064) 2 years ago
v1_10 Fix all possible setting error related storages and added some tests (#23911) 2 years ago
v1_11 Fix all possible setting error related storages and added some tests (#23911) 2 years ago
v1_12 Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
v1_13 Remove most path-based golangci exclusions (#24214) 2 years ago
v1_14 Remove most path-based golangci exclusions (#24214) 2 years ago
v1_15 Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
v1_16 Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
v1_17 Drop migration for ForeignReference (#23605) 2 years ago
v1_18 Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
v1_19 Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
v1_20 Redesign Scoped Access Tokens (#24767) 2 years ago
v1_21 Split lfs size from repository size (#22900) 2 years ago
migrations.go Split lfs size from repository size (#22900) 2 years ago