Add Team functions

This commit is contained in:
2025-09-22 12:53:46 -04:00
parent 3daa3b81b3
commit dc83a18d76
48 changed files with 2364 additions and 633 deletions
@@ -54,7 +54,7 @@ namespace Data.Migrations
});
migrationBuilder.CreateTable(
name: "Teams",
name: "TimeSlots",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
@@ -91,7 +91,7 @@ namespace Data.Migrations
table.ForeignKey(
name: "FK_StudentTeam_Teams_TeamsId",
column: x => x.TeamsId,
principalTable: "Teams",
principalTable: "TimeSlots",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
@@ -108,7 +108,7 @@ namespace Data.Migrations
migrationBuilder.CreateIndex(
name: "IX_Teams_CaptainId",
table: "Teams",
table: "TimeSlots",
column: "CaptainId");
}
@@ -122,7 +122,7 @@ namespace Data.Migrations
name: "StudentTeam");
migrationBuilder.DropTable(
name: "Teams");
name: "TimeSlots");
migrationBuilder.DropTable(
name: "Students");