02d8477b05
Create migration for League soft delete flag.
2025-04-14 22:14:12 +02:00
f02538b281
Create migrations for concurrency tokens.
2025-04-14 22:11:01 +02:00
8a4e8a41f3
Add migration for restrictions.
...
Note that I had to remove the view from the table manually, otherwise I could not update the database.
2025-04-14 21:30:34 +02:00
e4b92dedef
Add restrictions in configuration and data annotations.
2025-04-14 21:29:56 +02:00
dd195dfddf
Add custom SQL to create a view for Teams and Leagues with migration.
...
Also state that this view is keyless.
2025-04-07 20:10:53 +02:00
b56a19d8b8
Recreate consolidation of migrations after fixes.
2025-04-07 11:58:11 +02:00
8229e74c13
Remove consolidated migration.
...
dotnet ef migrations remove --startup-project ./ --project ../EntityFrameworkCore.Data
2025-04-07 11:36:19 +02:00
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