Migrate DB on configuration changes, and change
the parameters of the daemons flags to match
the default daemon_flags.