DeleteTable
@Repeatable
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.BINARY)
@OptionalExpectation
public annotation DeleteTable
Repeatable annotation declaring the deleted tables 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 |
|---|
DeleteTable(@NonNull String tableName) |
Public methods |
|
|---|---|
final @NonNull String |
Name of the table in the |
Public constructors
Public methods
getTableName
public final @NonNull String getTableName()
Name of the table in the AutoMigration.from version of the database to be deleted.