forgejo/modules/setting
zeripath fcabbae168
Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563)
MySQL in its infinite wisdom determines that UTF8 does not
mean UTF8. Our install scripts know about this and will set
CHARSET to utf8mb4 if we users choose this but... users who
do not explicitly set this variable will default to utf8mb3
without knowing it.

This PR changes the unset CHARSET value to utf8mb4 if users
choose to use mysql.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-08-22 13:56:33 +01:00
..
attachment.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
cache.go
cors.go
cron.go
database.go Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563) 2020-08-22 13:56:33 +01:00
database_sqlite.go
database_test.go
git.go
indexer.go
indexer_test.go
log.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
mailer.go
markup.go
migrations.go
project.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
queue.go
repository.go Global default branch setting (#11918) 2020-06-17 16:53:55 -04:00
service.go
session.go
setting.go Disable password complexity check default (#12557) 2020-08-21 18:42:23 -04:00
task.go
webhook.go