mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Added MySQL collation conversion (refs #46)
This commit is contained in:
parent
45002153c9
commit
7f0583485f
1 changed files with 31 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue