Database
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user