Removed redundand db connection
This commit is contained in:
parent
9ba9692f05
commit
7ffc5962b7
|
@ -8,12 +8,7 @@ namespace ScrumTaskboard
|
|||
public DbSet<ScrumTask> Tasks { get; set; }
|
||||
|
||||
public TaskContext() { }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseNpgsql("Host=nig.gl; Port=8543; Username=scrum; Database=taskboard; Password=c6gXud7YvBWp2sgxSgy4wRN");
|
||||
}
|
||||
|
||||
|
||||
public TaskContext(DbContextOptions<TaskContext> options) : base(options) { }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue