Fixing DB settings for dev and prod env