PreferIntegerPrimaryKeyRule

Reports SQLite rowid primary keys that do not use the exact INTEGER PRIMARY KEY spelling.

SQLite only gives rowid alias behavior to the exact INTEGER PRIMARY KEY declaration.

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 val options: Set<RuleOption<*>>
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)