agrosner / agrosner/DBFlow

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

Offen
#1,704 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Kotlin
Sterne
4.8k
Forks
593
Ø Merge
1 Min.
Gemergte PRs (30 T.)
1

Beschreibung

# 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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.