No description
lastrowid returns 0 when ON CONFLICT DO UPDATE fires on an existing row, causing links to not be cleaned up or associated correctly on re-index. Now fetches the actual row ID with a SELECT after upsert. Also adds try/finally for connection safety. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| themes | ||
| .gitignore | ||
| app.py | ||
| CLAUDE.md | ||
| db.py | ||
| gateway.py | ||
| handlers.py | ||
| README.md | ||
| requirements.txt | ||
| rns_client.py | ||
| templates.py | ||