When using a new version of the program, the config file is written with the old version - might not fit.
Maybe just give a small warning at a small update, and a fat warning when config file format has changed more fundamentally?
So the users' version should be stored.
It might as well be usefull to store the version number in the database to be able to trace what versions of the program are actually using the database?