1
0 Comments

Ask IH: creating custom migration system for react-native app

I wanted to created a migration system for my sqlite database used in react-native app. I have gone through these articles https://blog.bradleygore.com/2015/09/25/cordova-sqlite-migrations/
https://github.com/andpor/react-native-sqlite-storage/issues/157
My approach was to create a folder with each migration in individual file and a schematable which record vesion_number based on file executed and time stamp when it is done. I want to know is there any better approach or any edge case that I can face ?