Only do database migration in debug mode.
Set database name for Release config