Files
pagodera/lib/db/migrations/003_fix_servers_location.sql
T
Evandro Fonseca Junior 55eebde0ba feat: add user authentication UI to header component
Add login and register dialogs, user dropdown menu with profile link and logout option, and integrate with session management hook. Prevent hydration mismatches by conditionally rendering auth elements after mount. Update package-lock.json with new @esbuild dependencies for build tooling.
2025-11-04 02:33:29 -03:00

11 lines
349 B
SQL

-- Migration 003: Corrigir constraint de location para incluir BR
-- Criado em: 2025-01-27
-- Remover constraint antigo
ALTER TABLE servers DROP CONSTRAINT IF EXISTS servers_location_check;
-- Adicionar novo constraint que inclui BR
ALTER TABLE servers ADD CONSTRAINT servers_location_check
CHECK (location IN ('NA', 'SA', 'EU', 'OC', 'BR'));