Change collation to django recommentation for mysql

This commit is contained in:
Griatch 2019-03-20 08:47:46 +01:00
parent aee34f0666
commit 76effa4162

View file

@ -20,7 +20,7 @@ before_install:
- psql -U postgres -c "CREATE DATABASE evennia;"
- psql -U postgres -c "CREATE USER evennia WITH PASSWORD 'password';"
- psql -U postgres -c "ALTER USER evennia CREATEDB;"
- mysql -u root -e "CREATE DATABASE evennia CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;"
- mysql -u root -e "CREATE DATABASE evennia CHARACTER SET utf8 COLLATE utf8_bin;"
- mysql -u root -e "CREATE USER 'evennia'@'localhost' IDENTIFIED BY 'password';"
- mysql -u root -e "GRANT ALL ON *.* TO 'evennia'@'localhost' IDENTIFIED BY 'password';"