I am pretty new to flutter and I have some questions about how database version control works for these apps with sqflite.
I have made a database file in my assets folder that is copied onto the device of the user when the app is launched. I am wondering if there is any way to check the current version the user has of the database file, so that it does not have to be copied over every time?
Case: I make an update to the database file that is shipped with an app update in the google play store. Can the version of the database file that the user currently has, be checked to determine if a new file should replace the old one?
If so... Can I do this check every time I update my app? Do I have to do it every time the app is opened?
If not.. How is this best handled? What is the best way of handling database updates of files stored on a users device?