(cherry picked from commit f9e2fb5efc1ec7bf4f6e52e08dd3591b4e77edd9)
Single-database configuration for Flask.