Added sql docker logic

This commit is contained in:
uppuv
2023-10-10 16:28:30 -04:00
35 changed files with 349 additions and 845 deletions

View File

@ -12,7 +12,7 @@ namespace DamageAssesment.Api.Responses.Db
protected override void OnConfiguring(DbContextOptionsBuilder options)
{
// connect to sql server with connection string from app settings
options.UseSqlServer(_Configuration.GetConnectionString("SurveyResponseConnection"));
options.UseSqlServer(_Configuration.GetConnectionString("ResponsesConnection"));
}
public DbSet<Db.SurveyResponse> SurveyResponses { get; set; }