You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/store/db/postgres
Steven 2b19d8a969 fix(tests): update PAT tests to accept both custom and SQL errors
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
4 months ago
..
activity.go
attachment.go
common.go
idp.go
inbox.go
instance_setting.go
memo.go feat: allow setting custom timestamps when creating memos and comments 5 months ago
memo_relation.go
postgres.go
reaction.go
user.go
user_setting.go fix(postgres): handle missing PAT data gracefully and add comprehensive tests 4 months ago
user_setting_test.go fix(tests): update PAT tests to accept both custom and SQL errors 4 months ago