Skip to content

Commit 0f2f2c5

Browse files
authored
chore: add prerequisites section (AscensionGameDev#2088)
1 parent badca70 commit 0f2f2c5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Intersect.Server.Core/MIGRATIONS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Database Migrations
22

3+
## Prerequisites
4+
- Install `dotnet-ef` via `dotnet tool install --global dotnet-ef --version 7.*` ([official documentation](https://learn.microsoft.com/en-us/ef/core/cli/dotnet#installing-the-tools))
5+
- On Unix-like systems you might get an error like `zsh: no matches found: 7.*`, if so run: `dotnet tool install --global dotnet-ef --version 7.\*` (note the `\\` before the `*`)
6+
- If you get warnings like `The Entity Framework tools version '7.0.11' is older than that of the runtime '7.0.13'. Update the tools for the latest features and bug fixes. See https://aka.ms/AAc1fbw for more information.`
7+
you can run: `dotnet tool update --global dotnet-ef --version 7.0.13` or `dotnet tool update --global dotnet-ef --version 7.*` (mind the `*` on Unix-like systems)
8+
39
## Supported Contexts
410
- Game (root `Game`, `GameContext` in code)
511
- Logging (root `Logging`, `LoggingContext` in code)

Intersect.Server/MIGRATIONS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Database Migrations
22

3+
## Prerequisites
4+
- Install `dotnet-ef` via `dotnet tool install --global dotnet-ef --version 7.*` ([official documentation](https://learn.microsoft.com/en-us/ef/core/cli/dotnet#installing-the-tools))
5+
- On Unix-like systems you might get an error like `zsh: no matches found: 7.*`, if so run: `dotnet tool install --global dotnet-ef --version 7.\*` (note the `\\` before the `*`)
6+
- If you get warnings like `The Entity Framework tools version '7.0.11' is older than that of the runtime '7.0.13'. Update the tools for the latest features and bug fixes. See https://aka.ms/AAc1fbw for more information.`
7+
you can run: `dotnet tool update --global dotnet-ef --version 7.0.13` or `dotnet tool update --global dotnet-ef --version 7.*` (mind the `*` on Unix-like systems)
8+
39
## Supported Contexts
410
- Game (root `Game`, `GameContext` in code)
511
- Logging (root `Logging`, `LoggingContext` in code)

0 commit comments

Comments
 (0)