Generic single-database configuration.

TODO: explain how to do database migrations.

