DeleteColumn
@Repeatable
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.BINARY)
@OptionalExpectation
public 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])Container annotation for the repeatable annotation |
Public constructors |
|---|
DeleteColumn(@NonNull String tableName, @NonNull String columnName) |
Public methods |
|
|---|---|
final @NonNull String |
Name of the column deleted in the |
final @NonNull String |
Name of the table in the |
Public constructors
Public methods
getColumnName
public final @NonNull String getColumnName()
Name of the column deleted in the AutoMigration.to version of the database.
getTableName
public final @NonNull String getTableName()
Name of the table in the AutoMigration.from version of the database the column was deleted from.