feat: KoePi Filial-Filter jetzt ueber echte marktguru Store-ID-Whitelist, Adresse direkt von der API

This commit is contained in:
2026-07-17 21:20:10 +02:00
parent 2b2a2dce2d
commit 8e8a5ffea5
2 changed files with 175 additions and 74 deletions

View File

@@ -650,4 +650,15 @@ db.exec(`
)
`);
// KöPi: Whitelist der exakt gewünschten Filialen (echte marktguru Store-IDs,
// aufgelöst aus bestätigten Prospekt-Links — siehe koepi/routes.js)
db.exec(`
CREATE TABLE IF NOT EXISTS koepi_local_stores (
store_id INTEGER PRIMARY KEY,
retailer TEXT NOT NULL DEFAULT '',
address TEXT NOT NULL DEFAULT '',
resolved_at DATETIME
)
`);
module.exports = db;