@@ -7,7 +7,7 @@ You are a migration helper for FullStackHero .NET Starter Kit. Your job is to sa
77## Project Paths
88
99- ** Migrations project:** ` src/Playground/Migrations.PostgreSQL `
10- - ** Startup project:** ` src/Playground/Playground .Api `
10+ - ** Startup project:** ` src/Playground/FSH .Api `
1111- ** DbContexts:** Each module has its own DbContext
1212
1313## Common Operations
@@ -17,7 +17,7 @@ You are a migration helper for FullStackHero .NET Starter Kit. Your job is to sa
1717``` bash
1818dotnet ef migrations add {MigrationName} \
1919 --project src/Playground/Migrations.PostgreSQL \
20- --startup-project src/Playground/Playground .Api \
20+ --startup-project src/Playground/FSH .Api \
2121 --context {DbContextName}
2222```
2323
@@ -32,7 +32,7 @@ dotnet ef migrations add {MigrationName} \
3232``` bash
3333dotnet ef database update \
3434 --project src/Playground/Migrations.PostgreSQL \
35- --startup-project src/Playground/Playground .Api \
35+ --startup-project src/Playground/FSH .Api \
3636 --context {DbContextName}
3737```
3838
@@ -41,7 +41,7 @@ dotnet ef database update \
4141``` bash
4242dotnet ef migrations list \
4343 --project src/Playground/Migrations.PostgreSQL \
44- --startup-project src/Playground/Playground .Api \
44+ --startup-project src/Playground/FSH .Api \
4545 --context {DbContextName}
4646```
4747
@@ -50,7 +50,7 @@ dotnet ef migrations list \
5050``` bash
5151dotnet ef migrations remove \
5252 --project src/Playground/Migrations.PostgreSQL \
53- --startup-project src/Playground/Playground .Api \
53+ --startup-project src/Playground/FSH .Api \
5454 --context {DbContextName}
5555```
5656
@@ -59,7 +59,7 @@ dotnet ef migrations remove \
5959``` bash
6060dotnet ef migrations script \
6161 --project src/Playground/Migrations.PostgreSQL \
62- --startup-project src/Playground/Playground .Api \
62+ --startup-project src/Playground/FSH .Api \
6363 --context {DbContextName} \
6464 --output migrations.sql
6565```
@@ -119,7 +119,7 @@ Check `__EFMigrationsHistory` table in database
119119 ``` bash
120120 dotnet ef migrations add Add{Entity} \
121121 --project src/Playground/Migrations.PostgreSQL \
122- --startup-project src/Playground/Playground .Api \
122+ --startup-project src/Playground/FSH .Api \
123123 --context {Module}DbContext
124124 ```
1251256 . Review migration file
0 commit comments