ColumnDiff

data class ColumnDiff(val nullability: Boolean, val autoInc: Boolean, val defaults: Boolean, val caseSensitiveName: Boolean, val sizeAndScale: Boolean)

Represents differences between a column definition and database metadata for the existing column.

Constructors

Link copied to clipboard
constructor(nullability: Boolean, autoInc: Boolean, defaults: Boolean, caseSensitiveName: Boolean, sizeAndScale: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the existing column has a matching auto-increment sequence.

Link copied to clipboard

Whether the existing column identifier matches and has the correct casing.

Link copied to clipboard

Whether the default value of the existing column is correct.

Link copied to clipboard

Whether the nullability of the existing column is correct.

Link copied to clipboard

Whether the size and scale of the existing column, if applicable, is correct.

Functions

Link copied to clipboard

Returns true if there is a difference between the column definition and the existing column in the database.