forked from MDCPS/DamageAssessment_Backend
Added sql docker logic
This commit is contained in:
@ -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; }
|
||||
|
||||
|
Reference in New Issue
Block a user