-- Add indexes for performance CREATE INDEX IF NOT EXISTS "Note_contentUpdatedAt_idx" ON "Note" ("contentUpdatedAt" DESC); CREATE INDEX IF NOT EXISTS "Note_isPublic_idx" ON "Note" ("isPublic");