migrate all configs into DB