Remove confusing warning

This commit is contained in:
rijkvanzanten
2022-03-22 11:26:36 -04:00
parent 4b7053e960
commit 3d795236da

View File

@@ -270,12 +270,6 @@ async function validateDatabaseCharset(database?: Knex): Promise<void> {
database = database ?? getDatabase();
if (getDatabaseClient(database) === 'mysql') {
if (env.DB_CHARSET) {
logger.warn(
`Using custom DB_CHARSET "${env.DB_CHARSET}". Using a charset different from the database's default can cause problems in relationships. Omitting DB_CHARSET is strongly recommended.`
);
}
const { collation } = await database.select(database.raw(`@@collation_database as collation`)).first();
const tables = await database('information_schema.tables')