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