Skip to content

Commit

Permalink
yes with utf8mb4
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaynebailey committed Dec 15, 2016
1 parent aecfd9a commit 866aefe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ setenv=
postgres: DATABASE_BACKEND=postgres
commands=
postgres: psql -c 'create database pootle;' -U postgres
mysql: mysql -e 'create database pootle CHARACTER SET utf8 COLLATE utf8_general_ci;'
mysql: mysql -e 'create database pootle CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'
mysql: mysql -e "SET GLOBAL wait_timeout = 36000;"
pootle init
make travis-assets
Expand All @@ -48,7 +48,7 @@ commands=
make lint-python
# Setup databases
psql -c 'create database pootle;' -U postgres
mysql -e 'create database pootle CHARACTER SET utf8 COLLATE utf8_general_ci;'
mysql -e 'create database pootle CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'
mysql -e "SET GLOBAL wait_timeout = 36000;"
# Migrate and initdb for all DBs
bash -c "DATABASE_BACKEND=mysql_innodb python manage.py migrate --noinput --traceback"
Expand Down

0 comments on commit 866aefe

Please sign in to comment.