Skip to content

Fallback destructive migration is not safe way i will recommend to use incremental migration #39

@myofficework000

Description

@myofficework000

https://github.com/BrianJr03/Issa-Chat-App/blob/082b4dcf98257affceb283f2ce37a723426b3176/app/src/main/java/jr/brian/issaaiapp/di/AppModule.kt#LL36C14-L36C14

Use Incremental Migrations: This involves breaking down complex migrations into smaller, incremental steps. Each step updates the database schema progressively while preserving data. This approach ensures a more controlled and data-safe migration process.

Reference: https://medium.com/@myofficework000/migration-in-room-db-babee083c562

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions