Changes between Version 1 and Version 2 of UserReadsAChapter
- Timestamp:
- 08/24/26 16:17:14 (13 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserReadsAChapter
v1 v2 3 3 === Actor: **Guest User / Regular User / Writer** 4 4 A user opens and reads a specific chapter of a story, and the system records the view count for that chapter. 5 5 6 **1.** The user selects a chapter from the story page. 6 7 … … 8 9 {{{#!sql 9 10 SELECT chapter_id, chapter_number, chapter_name, title, 10 c ontent, word_count, rating, published_at, view_count11 chapter_content, word_count, rating, published_at, view_count 11 12 FROM CHAPTER 12 13 WHERE chapter_id = 1 AND story_id = 1; … … 17 18 UPDATE CHAPTER 18 19 SET view_count = view_count + 1, 19 updated_at = CURRENT_TIMESTAMP20 chapter_updated_at = CURRENT_TIMESTAMP 20 21 WHERE chapter_id = 1; 21 22 }}}
