Added MySQL collation conversion (refs #46)

This commit is contained in:
Timo Smit 2019-01-04 18:10:03 +01:00
parent 45002153c9
commit 7f0583485f

View file

@ -1,3 +1,34 @@
-- convert databases to UTF-8
ALTER TABLE `wolfadmin`.`aliases`
CONVERT TO
CHARACTER SET 'utf8'
COLLATE 'utf8_unicode_ci';
ALTER TABLE `wolfadmin`.`levels`
CONVERT TO
CHARACTER SET 'utf8'
COLLATE 'utf8_unicode_ci';
ALTER TABLE `wolfadmin`.`maps`
CONVERT TO
CHARACTER SET 'utf8'
COLLATE 'utf8_unicode_ci';
ALTER TABLE `wolfadmin`.`players`
CONVERT TO
CHARACTER SET 'utf8'
COLLATE 'utf8_unicode_ci';
ALTER TABLE `wolfadmin`.`records`
CONVERT TO
CHARACTER SET 'utf8'
COLLATE 'utf8_unicode_ci';
ALTER TABLE `wolfadmin`.`warns`
CONVERT TO
CHARACTER SET 'utf8'
COLLATE 'utf8_unicode_ci';
-- create config table -- create config table
CREATE TABLE IF NOT EXISTS `config` ( CREATE TABLE IF NOT EXISTS `config` (
`id` varchar(64) NOT NULL PRIMARY KEY, `id` varchar(64) NOT NULL PRIMARY KEY,