mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Remove confusing warning
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user