Use case sensitive collations

This commit is contained in:
Erik Johnston 2015-04-10 18:46:33 +01:00
parent 4103b1c470
commit c5365dee56
2 changed files with 2 additions and 3 deletions

View file

@ -36,7 +36,7 @@ class MariaEngine(object):
def prepare_database(self, db_conn):
cur = db_conn.cursor()
cur.execute(
"ALTER DATABASE CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci"
"ALTER DATABASE CHARACTER SET utf8mb4 COLLATE utf8mb4_bin"
)
db_conn.commit()
prepare_database(db_conn, self)