diff options
author | Jonas Franz <info@jonasfranz.software> | 2018-03-31 03:10:44 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2018-03-31 09:10:44 +0800 |
commit | 3e06490d38ee631029b020ccd408231841e5d1da (patch) | |
tree | 65235171481ac2a9536f5dd7336ae9a870d7c083 /models/models.go | |
parent | d877bf7e15ebd5d9a74e58f3999e3276e76fa15e (diff) | |
download | gitea-3e06490d38ee631029b020ccd408231841e5d1da.tar.gz gitea-3e06490d38ee631029b020ccd408231841e5d1da.zip |
Add Size column to attachment (#3734)
* Add size column to attachment
Migrate attachments by calculating file sizes
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Calculate attachment size on creation
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Log error instead of returning error
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Diffstat (limited to 'models/models.go')
0 files changed, 0 insertions, 0 deletions