Built motion from commit 95c3d5ad5.|1.0.29
[motion.git] / server / models / user.js
index 623dcf4..e000bca 100644 (file)
@@ -761,6 +761,8 @@ module.exports = function(sequelize, DataTypes) {
     }
   }, {
     tableName: 'users',
+    charset: 'utf8',
+    collate: 'utf8_bin',
     instanceMethods: {
       /**
        * Authenticate - check if the passwords are the same