feat: initialize Postgres schema and set up core API routing for articles and photos

This commit is contained in:
Michael committed 2026-05-06 11:30:03 +02:00
1 parent 79c7628b99
commit 95799add1d
4 files changed
+109 -13

No files matched your search

+7
View File
@@ -12,6 +12,13 @@ CREATE TABLE IF NOT EXISTS sync_log (
error_msg TEXT
);
-- Index photos lafoirfouille.fr (construit depuis les sitemaps)
CREATE TABLE IF NOT EXISTS ff_photo_index (
photo_code TEXT PRIMARY KEY,
product_url TEXT NOT NULL,
indexed_at TIMESTAMP DEFAULT NOW()
);
-- ============================================================
-- Référentiel articles
-- ============================================================