Do write the config
Do write the config

When we use the default database, we don't need to write the database
config to the config file. However, we do still need the rest of the
config.

Make sure that we do.

yoe/sreview,yoe/sreview,yoe/sreview,yoe/sreview