SQLite generic upgrader?
-
Hi there,
seems I need to upgrade the Telegram App db, which is of course not a big deal. But what I know from other designs is to have an upgrade class that can be fed with upgrade steps according version numbers (version of Db, not App version) and it will check and upgrade (or even downgrade) as necessary.Would be great to have a generic version that can be used by all App builders. I recommend a static class inside a small lib which then gets configured with a map or smth like this of versions and their scripts.
Is there already smth like that on this planet?

BR
-
@Flohack I'm not a DB guy, but there is the Drupal project which provides an API for DB abstraction.
I don't know how suitable that would be in this situation, but you could have a quick look at it to see it it seems to be something along the lines you're thinking.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login