Commit Graph

2 Commits

Author SHA1 Message Date
Kunthawat Greethong
002966b739 fix: Consent API auto-creates database table on startup
- better-sqlite3 creates ConsentLog table if not exists
- Auto-creates data/ directory if missing
- Fixes Astro DB not creating custom tables issue
2026-03-31 11:44:31 +07:00
Kunthawat Greethong
cfd8bd196a fix: Admin consent logs - implement Export CSV, fix delete, switch to better-sqlite3
- Replace Astro DB with better-sqlite3 for reliable SQLite access
- Implement Export CSV feature in admin panel
- Fix delete consent function (make it global)
- Add better-sqlite3 dependency
2026-03-31 11:00:20 +07:00