controls svg

This commit is contained in:
ntr committed 2023-08-24 18:26:40 +10:00
1 parent 8abcc8940b
commit ef2674a483
8 files changed
+2857 -23

No files matched your search

+2 -2
View File
@@ -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; }