Finish moving config to database.