agrosner / agrosner/DBFlow

Loosing data on upgrading DBFlow sdk version from 4.2.4 to 5.0.0-alpha1

Abierto
#1,704 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Kotlin
Estrellas
4.8k
Forks
593
Merge medio
1 min
PR fusionados (30 d)
1

Descripción

# ISSUE

DBFlow Version:5.0.0-alpha1

Bug or Feature Request: Bug

Description: Recently I migrated my pretty old android app to androidx. In my Windows machine it was working fine. But in MAC, it was causing issues with one of the DBflow tables we used inside an AAR. Both our app and the AAR was using the DBFlow version 4.2.4. When I googled for a solution as why it was causing an issue in the MAC but not Windows, I came across a comment where they suggested to upgrade the DBFlow version to 5 and so I tried upgrading to 5.0.0-alpha1. In the process I noticed that all the dependency package changed from Raizlabs to agrosner except for Kotlin extensions. So did the package names in the code. Modified across both the app and the AAR. By doing so the issue got fixed. It started working in the MAC too. But a new issue raised up. The existing table data where getting cleared. Tried upgrading the db versions but had no effect. Is the a work around or a fix for this? Or is there any procedure to follow in order to preserve the data?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.