diff --git a/db/db.ts b/db/db.ts index 2a63cc25401..a89bddf2eed 100644 --- a/db/db.ts +++ b/db/db.ts @@ -35,6 +35,7 @@ export const knexInstance = (): Knex => { password: GRAPHER_DB_PASS, database: GRAPHER_DB_NAME, port: GRAPHER_DB_PORT, + charset: "utf8mb4", typeCast: (field: any, next: any) => { if (field.type === "TINY" && field.length === 1) { return field.string() === "1" // 1 = true, 0 = false