Skip to content

Commit

Permalink
Merge pull request #89 from HannesOberreiter/dev
Browse files Browse the repository at this point in the history
fix(dev): 🐛 set correct db connection encoding
  • Loading branch information
HannesOberreiter committed May 25, 2023
2 parents 3ca5f5a + ef3a971 commit 7a536eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/environment.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const knexConfig = {
user: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
port: parseInt(process.env.DB_PORT),
charset: 'utf8mb4',
timezone: 'UTC',
typeCast(field, next) {
// https://github.com/Vincit/objection.js/issues/174#issuecomment-424873063
Expand Down

0 comments on commit 7a536eb

Please sign in to comment.