mirror of https://github.com/usememos/memos.git
The PostgreSQL implementation returns 'PAT not found' when no rows match, while SQLite/MySQL return 'sql: no rows in result set' from QueryRowContext. Both behaviors are correct - the key fix is that PostgreSQL no longer throws JSONB errors on missing/malformed data. Changes: - Update test assertions to accept either error type - Fix comment punctuation for godot linter - Maintain backward compatibility across all database drivers |
||
|---|---|---|
| .. | ||
| activity.go | ||
| attachment.go | ||
| common.go | ||
| idp.go | ||
| inbox.go | ||
| instance_setting.go | ||
| memo.go | ||
| memo_relation.go | ||
| postgres.go | ||
| reaction.go | ||
| user.go | ||
| user_setting.go | ||
| user_setting_test.go | ||