DeleteTable

public abstract @interface DeleteTable
implements Annotation

androidx.room.DeleteTable


Repeatable annotation declaring the deleted tables in the AutoMigration.to() version of an auto migration.

See also:

Summary

Nested classes

@interface DeleteTable.Entries

Container annotation for the repeatable annotation DeleteTable

Public methods

String tableName()

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

Inherited methods

Public methods

tableName

public String tableName ()

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

Returns
String Name of the table.