gitea/models/migrations
Lunny Xiao 2653ac95e0
Extend comment treepath length (#35389)
Extend the maximum length of comment.treepath from 255 to 4000
characters.

All databases supported by Gitea allow VARCHAR fields of 4000, so
compatibility is ensured. Git itself does not impose a strict limit on
path length. On Windows, the `core.longpaths` setting has already been
enabled to handle long file paths.

Fix #33716

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2025-09-10 13:31:59 +00:00
..
base Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
fixtures Remove If Exist check on migration for mssql because that syntax required SQL server 2016 (#30894) 2024-05-11 22:16:09 +08:00
v1_6 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_7 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_8 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_9 Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +00:00
v1_10 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_11 enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
v1_12 Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +00:00
v1_13 enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
v1_14 Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +00:00
v1_15 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_16 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_17 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_18 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_19 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_20 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_21 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_22 Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
v1_23 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_24 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_25 Extend comment treepath length (#35389) 2025-09-10 13:31:59 +00:00
migrations.go Extend comment treepath length (#35389) 2025-09-10 13:31:59 +00:00
migrations_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00