Write-Host "========================================" -ForegroundColor Cyan Write-Host " FIX: Ambiguous Columns SQL " -ForegroundColor Cyan Write-Host "========================================" -ForegroundColor Cyan Write-Host "" Write-Host "PASSO 1: Abrir SQL Editor" -ForegroundColor Yellow Write-Host " Acesse: https://supabase.com/dashboard/project/etblfypcxxtvvuqjkrgd/sql/new" -ForegroundColor White Write-Host "" Write-Host "PASSO 2: Executar Fix" -ForegroundColor Yellow Write-Host " 1. Abra o arquivo: supabase\fix-ambiguous-columns.sql" -ForegroundColor Green Write-Host " 2. Copie todo o conteudo" -ForegroundColor White Write-Host " 3. Cole no SQL Editor" -ForegroundColor White Write-Host " 4. Clique em 'Run'" -ForegroundColor White Write-Host "" Write-Host "Deseja abrir o arquivo SQL agora? (S/N): " -ForegroundColor Yellow -NoNewline $resposta = Read-Host if ($resposta -eq 'S' -or $resposta -eq 's') { notepad "$PSScriptRoot\supabase\fix-ambiguous-columns.sql" } Write-Host "" Write-Host "Deseja abrir o SQL Editor do Supabase? (S/N): " -ForegroundColor Yellow -NoNewline $resposta2 = Read-Host if ($resposta2 -eq 'S' -or $resposta2 -eq 's') { Start-Process "https://supabase.com/dashboard/project/etblfypcxxtvvuqjkrgd/sql/new" } Write-Host "" Write-Host "================================" -ForegroundColor Green Write-Host " AGUARDANDO EXECUCAO SQL " -ForegroundColor Green Write-Host "================================" -ForegroundColor Green