Changes between Version 2 and Version 3 of UserCreatesReadingList


Ignore:
Timestamp:
08/24/26 16:11:57 (13 days ago)
Author:
211099
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserCreatesReadingList

    v2 v3  
    22
    33=== Actor: **Regular User / Writer**
     4
    45A user creates a new personal reading list, choosing whether to make it public or private.
    56
     
    1213**4.** The system inserts a new record into the READING_LIST table.
    1314{{{#!sql
    14 INSERT INTO READING_LIST (name, content, is_public, user_id, created_at, updated_at)
     15INSERT INTO READING_LIST (list_name, list_content, is_public, user_id, list_created_at, list_updated_at)
    1516VALUES ('Sara''s Fantasy Favorites',
    1617        'My collection of the best fantasy stories with strong female leads',
     
    2223**6.** The system displays the reading list with zero stories added yet.
    2324{{{#!sql
    24 SELECT rl.list_id, rl.name, rl.content, rl.is_public, COUNT(rli.story_id) AS total_stories
     25SELECT rl.list_id, rl.list_name, rl.list_content, rl.is_public, COUNT(rli.story_id) AS total_stories
    2526FROM READING_LIST rl
    2627LEFT JOIN READING_LIST_ITEMS rli ON rl.list_id = rli.list_id