CREATE TABLE IF NOT EXISTS app_config (
  key VARCHAR(100) PRIMARY KEY,
  value TEXT
);
INSERT INTO app_config (key, value) VALUES ('scan_base_url', '') ON CONFLICT (key) DO NOTHING;
