DMS-P database config and initial migration.