Skip to content

Commit

Permalink
fix: the setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
djoufson committed Jan 8, 2025
1 parent 2485450 commit b856d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/windows/setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ while (-not (docker exec $containerName /opt/mssql-tools18/bin/sqlcmd -S localho
}

# Migrate the database
dotnet ef database update -s ./app -p ./app.infrastructure
dotnet ef database update -s ./app -p ./app.infrastructure --context AppDbContext

# Seed the database
dotnet run --project ./app/ --seed RolesSeeder PartnersSeeder EventsSeeder AdminsSeeder
dotnet run --project ./app/ --seed RolesSeeder PartnersSeeder EventsSeeder AdminsSeeder ProjectsSeeder

# Shut down the database
docker compose down

0 comments on commit b856d9c

Please sign in to comment.