Add EventOccurrence entity and update DbContext
Created the EventOccurrence entity with properties for event details and added it to the AppDbContext. Updated the model snapshot to reflect the new entity and its relationships, ensuring proper database schema generation.
This commit is contained in:
@@ -10,6 +10,7 @@ namespace Data
|
||||
public DbSet<Student> Students { get; set; }
|
||||
public DbSet<Team> Teams { get; set; }
|
||||
public DbSet<StudentEventRanking> StudentEventRanking { get; set; }
|
||||
public DbSet<EventOccurrence> EventOccurrences { get; set; }
|
||||
|
||||
public AppDbContext()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user