I am using the ionix-sqlite plugin in my app.
It is working perfectly but I just want to know if there is a way to update the database’s version to make it easier to test it.
I am currently opening my db this way:
SqlDatabase.open('test1.db', [createTable]); where
createTable is a typical sql query.
The thing is, I am calling
test1.db multiple times in my code and whenever I change something in my table’s structure I have to change the database’s name to
test2.db or something everywhere.
Is there a way to update the database’s version or to reset it ?
Would be cool to be able to somehow pass
Sql.Database.open() a version parameter.