Make database config work before migration.