room/runtime/src/main/java/androidx/room/RoomDatabase.java
@NonNull
        public Builder<T> fallbackToDestructiveMigration() {
            mRequireMigration = false;
            return this;
        }
/**
         * Allows Room to destructively recreate database tables if {@link Migration}s that would
         * migrate old database schemas to the latest schema version are not found.
         * <p>
         * When the database version on the device does not match the latest schema version, Room
         * runs necessary {@link Migration}s on the database.
         * <p>
         * If it cannot find the set of {@link Migration}s that will bring the database to the
         * current version, it will throw an {@link IllegalStateException}.
         * <p>
         * You can call this method to change this behavior to re-create the database instead of
         * crashing.
         * <p>
         * Note that this will delete all of the data in the database tables managed by Room.
         *
         * @return this
         */
Allows Room to destructively recreate database tables if  Migrations that would
migrate old database schemas to the latest schema version are not found.

When the database version on the device does not match the latest schema version, Room
runs necessary  Migrations on the database.

If it cannot find the set of  Migrations that will bring the database to the
current version, it will throw an  IllegalStateException.

You can call this method to change this behavior to re-create the database instead of
crashing.

Note that this will delete all of the data in the database tables managed by Room.

@return this
Allows Room to destructively recreate database tables if Migrations that would migrate old database schemas to the latest schema version are not found . When the database version on the device does not match the latest schema version Room runs necessary Migrations on the database . If it cannot find the set of Migrations that will bring the database to the current version it will throw an IllegalStateException . You can call this method to change this behavior to re - create the database instead of crashing . Note that this will delete all of the data in the database tables managed by Room . @return this
@NonNull
        public Builder<T> fallbackToDestructiveMigration() {
            mRequireMigration = false;
            return this;
        }
@ NonNull public Builder < T > fallbackToDestructiveMigration ( ) { mRequireMigration = false ; return this ; }
Allows Room to destructively recreate database tables if {@link Migration}s that would
 migrate old database schemas to the latest schema version are not found.
Allows Room to destructively recreate database tables if { @link Migration } s that would migrate old database schemas to the latest schema version are not found .