NoUtf8CharsetRule

Reports MySQL character set declarations that use utf8 instead of utf8mb4.

MySQL utf8 is an alias for utf8mb3, so this rule points schemas toward the full Unicode utf8mb4 character set.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val defaultEnable: Boolean = true
Link copied to clipboard
open override val defaultSeverity: Severity
Link copied to clipboard
Link copied to clipboard
open override val id: RuleId
Link copied to clipboard
open override val targetDialect: DialectId

Functions

Link copied to clipboard
open fun isApplicable(context: RuleContext): Boolean
Link copied to clipboard
open override fun run(context: RuleContext, reporter: DiagnosticReporter)