Closed nbransby closed 8 months ago
Okay, I will look at this issue today.
I think this is a reasonable behavior. If users use read-only mode, they should ensure the value of DatabaseConfiguration.version
same with the value in database file. So, I would add a separate check for this situation and throw an IllegalArgumentException
with the related message.
Does that number have to be greater than 0?
Yes, if we create a new database, usually set the version is 1.
OK great thanks
You're welcome
Got a new issue now - are you calling PRAGMA user_version = 1 internally in SQLlin somewhere?