forgejo/models/migrations
Jason Song 0c40cff9a4
Clear up old Actions logs (#31735)
Part of #24256.

Clear up old action logs to free up storage space.

Users will see a message indicating that the log has been cleared if
they view old tasks.

<img width="1361" alt="image"
src="https://github.com/user-attachments/assets/9f0f3a3a-bc5a-402f-90ca-49282d196c22">

Docs: https://gitea.com/gitea/docs/pulls/40

---------

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 687c1182482ad9443a5911c068b317a91c91d586)

Conflicts:
	custom/conf/app.example.ini
	routers/web/repo/actions/view.go
  trivial context conflict
2024-08-04 18:24:10 +02:00
..
base [CHORE] Move test related function to own package 2024-07-14 17:00:49 +02:00
fixtures Remove If Exist check on migration for mssql because that syntax required SQL server 2016 (#30894) 2024-05-12 20:03:10 +02:00
test Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_6
v1_7
v1_8
v1_9
v1_10
v1_11
v1_12
v1_13
v1_14 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_15 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_16 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_17 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_18 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_19 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_20 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_21 Upgrade xorm to v1.3.9 and improve some migrations Sync (#29899) 2024-07-22 15:44:13 +02:00
v1_22 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
v1_23 Clear up old Actions logs (#31735) 2024-08-04 18:24:10 +02:00
migrations.go Clear up old Actions logs (#31735) 2024-08-04 18:24:10 +02:00