controls svg
This commit is contained in:
1 parent
0d27fd4d39
commit
ef5d3517c9
8 files changed
+2857
-23
No files matched your search
@@ -4,13 +4,13 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace Server;
|
||||
|
||||
public class SpaceRaceDbContext : DbContext {
|
||||
public DbSet<Completion> Completions { get; set; }
|
||||
public DbSet<Lap> Laps { get; set; }
|
||||
public SpaceRaceDbContext(DbContextOptions<SpaceRaceDbContext> options) : base(options) {}
|
||||
}
|
||||
|
||||
[Index(nameof(UserId))]
|
||||
[Index(nameof(Map))]
|
||||
public class Completion {
|
||||
public class Lap {
|
||||
public DateTimeOffset Date { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
Reference in new issue
Block a user