Preparar repositorio para despliegue: código fuente limpio
This commit is contained in:
parent
866f5c432d
commit
3eca832c1a
76 changed files with 5434 additions and 3496 deletions
7
migrations/add_traceability_cols.sql
Normal file
7
migrations/add_traceability_cols.sql
Normal 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';
|
||||
Loading…
Add table
Add a link
Reference in a new issue