Upgrade the database properly when upgrading from pragha <= 1.3.0
Save version in the same database as a pragma. To be used in the future when changing the database again.