-- Gerador de Templates — dimensões EXATAS da imagem de header (px), substitui
-- o antigo image_aspect_ratio (aproximado) por largura/altura exatas em px.
-- Aplicado manualmente via psql (db:push interativo trava com tabelas novas —
-- ver .agents/memory/db-push-rename-prompt.md). Espelha shared/schema.ts.

ALTER TABLE template_generator_config
  ADD COLUMN IF NOT EXISTS image_width_px  integer NOT NULL DEFAULT 1200,
  ADD COLUMN IF NOT EXISTS image_height_px integer NOT NULL DEFAULT 628,
  DROP COLUMN IF EXISTS image_aspect_ratio;
