DeleteColumn

public abstract @interface DeleteColumn
implements Annotation

androidx.room.DeleteColumn


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

See also:

Summary

Nested classes

@interface DeleteColumn.Entries

Container annotation for the repeatable annotation DeleteColumn

Public methods

String columnName()

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

String tableName()

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

Inherited methods

Public methods

columnName

public String columnName ()

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

Returns
String Name of the column.

tableName

public String tableName ()

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

Returns
String Name of the table