summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-23 18:54:23 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-26 11:28:11 +0000
commite998665365d0cd2d54641154c64a8521de775607 (patch)
tree3d06b3353b61631033741cd720d777eb1059a9aa
parent4b6fca04d549ee7853d8be2ce42783dbc9b37d66 (diff)
downloadinfrastructure-e998665365d0cd2d54641154c64a8521de775607.tar.gz
database: Specify UTF8 encoding and collation for all databases
Seems that the default behaviour is to be broken, causing 'incorrect string value' errors from Django.
-rw-r--r--database/user_config.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/database/user_config.yml b/database/user_config.yml
index 0318222a..a9be0332 100644
--- a/database/user_config.yml
+++ b/database/user_config.yml
@@ -39,6 +39,8 @@
login_host=127.0.0.1
login_user=root
login_password={{ root_password }}
+ collation='utf8_unicode_ci',
+ encoding='utf8',
with_items:
- openid_provider
- storyboard