Commit Graph

4 Commits (75e85c25c1674627ef750bf7114d3b0b7c0d15aa)

Author SHA1 Message Date
wxiaoguang 1c9b022c4d
Refactor db package and remove unnecessary `DumpTables` ()
Lunny Xiao 696fbe6036
Refactor push mirror find and add check for updating push mirror ()
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
wxiaoguang 29a8c8de77
Partially enable MSSQL case-sensitive collation support ()
Follow 
wxiaoguang 2df7563f31
Recommend/convert to use case-sensitive collation for MySQL/MSSQL ()
Mainly for MySQL/MSSQL.

It is important for Gitea to use case-sensitive database charset
collation. If the database is using a case-insensitive collation, Gitea
will show startup error/warning messages, and show the errors/warnings
on the admin panel's Self-Check page.

Make `gitea doctor convert` work for MySQL to convert the collations of
database & tables & columns.

* Fix 

## ⚠️ BREAKING ⚠️

It is not quite breaking, but it's highly recommended to convert the
database&table&column to a consistent and case-sensitive collation.