DeleteTable

@Repeatable(value = DeleteTable.Entries)
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.BINARY)
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])
@Retention(value = AnnotationRetention.BINARY)
public annotation DeleteTable.Entries

Container annotation for the repeatable annotation DeleteTable.

Public constructors

Public methods

final @NonNull String

Name of the table in the AutoMigration.from version of the database to be deleted.

Public constructors

DeleteTable

public DeleteTable(@NonNull String tableName)

Public methods

getTableName

public final @NonNull String getTableName()

Name of the table in the AutoMigration.from version of the database to be deleted.

Returns
@NonNull String

Name of the table.