1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-12-07 23:23:49 +02:00

changing mysql collate and charset to be case insensitive

This commit is contained in:
Patrik J. Braun
2019-02-07 10:21:23 -05:00
parent 6489fe3930
commit ee18d27f9d
10 changed files with 110 additions and 33 deletions

View File

@@ -170,7 +170,8 @@ export class SQLConnection {
port: 3306,
username: config.mysql.username,
password: config.mysql.password,
database: config.mysql.database
database: config.mysql.database,
charset: 'utf8mb4'
};
} else if (config.type === DatabaseType.sqlite) {
driver = {