adding DB_MIGRATION_ENGINE and fixing defaults