memos/server
Claude 94483ea2a4
refactor(api): remove redundant UID existence check in CreateMemo
The explicit check for existing memo UIDs before insertion is
redundant because:
- Database has UNIQUE constraint on uid column
- The check creates a race condition window
- Database constraint is the actual enforcement mechanism

Simplified the code to rely on the database constraint. If a
duplicate UID is provided, the CreateMemo store call will fail
with a constraint violation error.
2025-11-08 01:27:36 +00:00
..
profiler chore: fix linter 2025-05-27 23:22:32 +08:00
router refactor(api): remove redundant UID existence check in CreateMemo 2025-11-08 01:27:36 +00:00
runner refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
server.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00