小编Raj*_*jan的帖子

房间数据库模式更新而不丢失数据

我使用 Kotlin 在 Android 中开发了一款应用程序,它可以在 Playstore 上找到。我使用 Room 数据库来存储这些值。我有以下疑问:

  1. 数据库架构现在已更改,我需要如何处理它。我参考了下面的教程,但仍然不清楚如何处理迁移中的架构更改。访问https://developer.android.com/training/data-storage/room/migration-db-versions.html

  2. 如何使用 Playstore 版本测试我当前的应用程序?

我在这里先向您的帮助表示感谢。

sqlite android kotlin android-sqlite android-room

5
推荐指数
1
解决办法
9148
查看次数

标签 统计

android ×1

android-room ×1

android-sqlite ×1

kotlin ×1

sqlite ×1