1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 08:34:54 +01:00
gitea/models
Wim 62104b4896
Alter hook_task TEXT fields to LONGTEXT (#20038)
Mysql TEXT has a limit of 64KB, change this to LONGTEXT in mysql only so we can have bigger hook payloads.

Postgresql has unlimited TEXT - https://www.postgresql.org/docs/current/datatype-character.html
Sqlite has unlimited TEXT - https://www.sqlitetutorial.net/sqlite-data-types/#:~:text=The%20maximum%20length%20of%20TEXT,SQLite%20supports%20various%20character%20encodings.

Same issue as #16656 but for hook_task

Fixes #10252, #19679, #3561
2022-06-19 19:47:04 +01:00
..
admin
appstate
asymkey
auth
avatars
db
fixtures
foreignreference
git
issues
migrations
organization
packages
perm
project
pull
repo
unit
unittest
user
webhook
action_list.go
action_test.go
action.go
consistency.go
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate_test.go
migrate.go
notification_test.go
notification.go
org_team_test.go
org_team.go
org_test.go
org.go
release.go
repo_activity.go
repo_collaboration_test.go
repo_collaboration.go
repo_test.go
repo_transfer_test.go
repo_transfer.go
repo.go
statistic.go
task.go
token_test.go
token.go
upload.go
user_heatmap_test.go
user_heatmap.go
user.go