fallbackToDestructiveMigration

fun fallbackToDestructiveMigration(dropAllTables: Boolean = true)

Allows Room to destructively recreate database tables if Migrations are not found.

Parameters

dropAllTables

Whether to drop all tables or only Room-managed ones.