Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alter hook_task TEXT fields to LONGTEXT (#20038) #20041

Merged
merged 2 commits into from
Jun 19, 2022

Commits on Jun 19, 2022

  1. Alter hook_task TEXT fields to LONGTEXT (go-gitea#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.
    
    Backport of go-gitea#20038
    42wim committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    2e41fb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6b64dd View commit details
    Browse the repository at this point in the history