== Writer Creates a New Story === Authors: **Writer** A writer creates a new story on the platform, setting its basic details, mature content flag, and initial status as draft. **1.** The writer navigates to the dashboard and selects "Create New Story". **2.** The system displays a form requesting title, short description, content, mature content flag, cover image, and genre selection. **3.** The writer fills in all the details and submits the form. **4.** The system inserts a new record into the STORY table. {{{#!sql INSERT INTO STORY (mature_content, short_description, image, content, user_id, created_at, updated_at) VALUES (FALSE, 'The Chronicles of Eldoria: When the last dragon awakens, a young mage must unite the fractured kingdoms', 'https://images.unsplash.com/photo-dragon-fantasy.jpg', 'In the ancient realm of Eldoria...', 2, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); }}} **5.** The system sets the story status as draft by default. {{{#!sql INSERT INTO STATUS (story_id, status) VALUES (1, 'draft'); }}} **6.** The system assigns the selected genres to the story. {{{#!sql INSERT INTO HAS_GENRE (story_id, genre_id) VALUES (1, 1), (1, 4), (1, 6); }}} **7.** The system confirms the story was created and redirects the writer to the story management page.