This commit is contained in:
Nadegamra
2021-09-09 20:32:56 +03:00
parent a3b4bb2e30
commit b447434a47
8 changed files with 675 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ namespace KTUSAPS.Data
{
if (!optionsBuilder.IsConfigured)
{
optionsBuilder.UseMySql("Server=localhost;User=samokdev;Password=;Database=samok_dev", new MariaDbServerVersion(new Version(10, 6, 3)));
optionsBuilder.UseMySql("Server=localhost;User=saps;Password=;Database=saps_dev", new MariaDbServerVersion(new Version(10, 6, 3)));
}
}
@@ -31,6 +31,8 @@ namespace KTUSAPS.Data
public DbSet<PublishedProblem> PublishedProblems { get; set; }
public DbSet<Solution> Solutions { get; set; }
public DbSet<Vote> Votes { get; set; }
public DbSet<Admin> Admins { get; set; }
}
}