Skip to content

Commit

Permalink
add a comment about adding COLLATE NOCASE
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Aug 7, 2020
1 parent b828416 commit ed3d67f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -122,6 +122,7 @@ public static void main(final String[] args) throws Exception {
")");
attestationConn.exec("INSERT OR IGNORE INTO Configuration " +
"(key, value) VALUES ('backups', 0)");
// older deployments did not use COLLATE NOCASE for the username column
attestationConn.exec(
"CREATE TABLE IF NOT EXISTS Accounts (\n" +
"userId INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,\n" +
Expand Down

0 comments on commit ed3d67f

Please sign in to comment.