Write version in the config file of the application when initializing
or migrating the db