Moving migration code to new class SQLiteSchema to make managing this easier.
This class is implemented in three .cpp files:
- SQLiteSchema.cpp - utils and methods to create/migrate
- SQLiteSchemaMigrations.cpp - existing migrations
I added code comments in SQLiteSchema.h, but if something is unclear, I can clarify.
This code is copied and pasted between places, so there is no need to review the logic itself.
The most important part to review here is native/cpp/CommonCpp/DatabaseManagers/SQLiteSchema.h file.
Depends on D14572