Changed users table to not be case sensitive.. need a reset.

This commit is contained in:
Andrew Pamment 2016-03-26 16:43:55 +10:00
parent bf71e71d0e
commit e5556e24ff

View File

@ -84,7 +84,7 @@ int inst_user(struct user_record *user) {
int rc; int rc;
char *create_sql = "CREATE TABLE IF NOT EXISTS users (" char *create_sql = "CREATE TABLE IF NOT EXISTS users ("
"Id INTEGER PRIMARY KEY," "Id INTEGER PRIMARY KEY,"
"loginname TEXT," "loginname TEXT COLLATE NOCASE,"
"password TEXT," "password TEXT,"
"firstname TEXT," "firstname TEXT,"
"lastname TEXT," "lastname TEXT,"