feat: initialize Postgres schema and set up core API routing for articles and photos
This commit is contained in:
1 parent
79c7628b99
commit
95799add1d
4 files changed
+109
-13
No files matched your search
@@ -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
|
||||
-- ============================================================
|
||||
|
||||
Reference in new issue
Block a user