13 Commits

Author SHA1 Message Date
150f500675 Consolidate relationship migrations into single migration.
This is due to an error rising, another error is rising at this point when trying to update the database:
SQLite Error 19: 'NOT NULL constraint failed: Teams.LeagueId'.
2025-04-07 11:33:49 +02:00
0cacdd7b33 Add migration one to one Coach to Team relationship. 2025-04-07 11:22:05 +02:00
1813bf6362 Add migration for many to many relationships between Matches and Teams. 2025-04-07 11:11:46 +02:00
42edf6cccf Add migration to make relation League to Team nullable. 2025-04-07 10:45:09 +02:00
1230476b27 Add migration to add relationship between League and Team. 2025-04-07 10:43:29 +02:00
e863015075 Add migration to add Team ID to Coach. 2025-04-07 10:17:02 +02:00
f630dfac2c Add migration for seeded leagues. 2025-04-06 21:07:11 +02:00
fd915cc972 Add migration to add Name to League. 2025-04-06 20:32:41 +02:00
1a8cafbc4a Add migration to remove TeamID. 2025-04-06 20:10:59 +02:00
f137595a5a Add migration to add Match and League entities. 2025-04-06 20:06:01 +02:00
a49717ff49 Update snapshot to make properties nullable. 2025-04-06 19:59:45 +02:00
6e0167a051 Seed database with Teams. 2025-04-04 19:36:19 +02:00
5b3c661b67 Create initial migration.
deadballzone/EntityFrameworkCore.Console(master)$
dotnet ef migrations add InitialMigration --startup-project ./ --project ../EntityFrameworkCore.Data
2025-04-04 17:28:08 +02:00