DeleteColumn

@Repeatable(value = DeleteColumn.Entries)
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.BINARY)
annotation DeleteColumn


Repeatable annotation declaring the deleted columns in the AutoMigration.to version of an auto migration.

See also
AutoMigration

Summary

Nested types

@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.BINARY)
annotation DeleteColumn.Entries

Container annotation for the repeatable annotation DeleteColumn.

Public constructors

DeleteColumn(tableName: String, columnName: String)

Public properties

String

Name of the column deleted in the AutoMigration.to version of the database.

String

Name of the table in the AutoMigration.from version of the database the column was deleted from.

Public constructors

DeleteColumn

DeleteColumn(tableName: String, columnName: String)

Public properties

columnName

val columnNameString

Name of the column deleted in the AutoMigration.to version of the database.

Returns
String

Name of the column.

tableName

val tableNameString

Name of the table in the AutoMigration.from version of the database the column was deleted from.

Returns
String

Name of the table