getting dev and prod db setup correct