Files
crowd-funder-for-time-pwa/src
Matthew Raymer 5123cf55b0 fix: Resolve infinite SQLite logging loop blocking Electron startup
- Fix logToDb() to use actual database schema: 'date' and 'message' columns
- Change INSERT query from non-existent 'timestamp, level' to existing 'date, message'
- Change DELETE cleanup to use 'date' column instead of 'timestamp'
- Embed log level in message text as '[LEVEL] message' instead of separate column
- Use toDateString() format to match schema instead of toISOString()

Resolves: "table logs has no column named timestamp" infinite error loop
Critical: Enables Electron app initialization by matching code to existing schema
Impact: Stops database logging from crashing and allows normal app startup
2025-07-01 05:15:06 +00:00
..
2025-04-22 07:48:04 +00:00
2022-11-16 14:48:22 +08:00
2024-04-07 11:02:54 -06:00
2024-07-23 20:14:07 -06:00