Preparar repositorio para despliegue: código fuente limpio

This commit is contained in:
jlimolina 2026-01-23 02:00:40 +01:00
parent 866f5c432d
commit 3eca832c1a
76 changed files with 5434 additions and 3496 deletions

View file

@ -0,0 +1,7 @@
-- Add fuente_url_id to feeds table for traceability
ALTER TABLE feeds
ADD COLUMN IF NOT EXISTS fuente_url_id INTEGER REFERENCES fuentes_url(id) ON DELETE SET NULL;
CREATE INDEX IF NOT EXISTS idx_feeds_fuente_url ON feeds(fuente_url_id);
COMMENT ON COLUMN feeds.fuente_url_id IS 'ID of the URL source that discovered this feed';