File tree Expand file tree Collapse file tree
csharp/recipes_2026/challanges/Recipes/src/Recipes.Api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,13 +126,13 @@ try {
126126
127127 Write-Host " Migration command completed - verifying tables were created..."
128128
129- # CRITICAL: Verify tables actually exist
129+ # CRITICAL: Verify tables actually exist (check for actual table names)
130130 $tablesResult = docker exec recipes- sqlserver / opt/ mssql- tools18/ bin/ sqlcmd `
131131 - S localhost - U sa - P $saPassword - d Recipes - C - h- 1 `
132132 - Q " SET NOCOUNT ON; SELECT COUNT(*) FROM sys.tables WHERE name IN ('Users', 'Recipe')" 2>&1 | Where-Object { $_ -match ' ^\s*\d+\s*$' }
133133
134134 if ($tablesResult -match ' ^\s*2\s*$' ) {
135- Write-Host " SUCCESS: Tables verified (Users and Recipes exist)!" - ForegroundColor Green
135+ Write-Host " SUCCESS: Tables verified (Users and Recipe exist)!" - ForegroundColor Green
136136
137137 # Show what was created
138138 Write-Host " `n Created tables:" - ForegroundColor Cyan
You can’t perform that action at this time.
0 commit comments