Changes between Version 16 and Version 17 of P2
- Timestamp:
- 04/23/26 14:28:14 (9 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
P2
v16 v17 9 9 10 10 == Tables == 11 1. **USER** (**__{{{user_ID}}}__**, {{{username}}}, {{{email}}}, {{{ name}}}, {{{surname}}}, {{{password}}}, {{{created_at}}}, {{{updated_at}}})11 1. **USER** (**__{{{user_ID}}}__**, {{{username}}}, {{{email}}}, {{{user_name}}}, {{{surname}}}, {{{password}}}, {{{user_created_at}}}, {{{user_updated_at}}}) 12 12 13 13 2. **ADMIN** (**__{{{user_ID*}}}__** (USER)) … … 17 17 4. **WRITER** (**__{{{user_ID*}}}__** (USER)) 18 18 19 5. **STORY** (**__{{{story_ID}}}__**, {{{mature_content}}}, {{{short_description}}}, {{{image}}}, {{{ content}}}, **__{{{user_ID*}}}__** (WRITER), {{{created_at}}}, {{{updated_at}}})19 5. **STORY** (**__{{{story_ID}}}__**, {{{mature_content}}}, {{{short_description}}}, {{{image}}}, {{{story_content}}}, **__{{{user_ID*}}}__** (WRITER), {{{story_created_at}}}, {{{story_updated_at}}}) 20 20 * status (multi-valued attribute, see table **STATUS**) 21 21 22 22 6. **STATUS** (**__{{{story_ID*}}}__** (STORY), **__{{{status}}}__**) 23 23 24 7. **CHAPTER** (**__{{{chapter_ID}}}__**, {{{chapter_number}}}, {{{chapter_name}}}, {{{title}}}, {{{c ontent}}}, {{{word_count}}}, {{{rating}}}, {{{published_at}}}, {{{view_count}}}, **__{{{story_ID*}}}__** (STORY), {{{created_at}}}, {{{updated_at}}})24 7. **CHAPTER** (**__{{{chapter_ID}}}__**, {{{chapter_number}}}, {{{chapter_name}}}, {{{title}}}, {{{chapter_content}}}, {{{word_count}}}, {{{rating}}}, {{{published_at}}}, {{{view_count}}}, **__{{{story_ID*}}}__** (STORY), {{{chapter_created_at}}}, {{{chapter_updated_at}}}) 25 25 26 26 8. **GENRE** (**__{{{genre_ID}}}__**, {{{name}}}) 27 27 28 9. **READING_LIST** (**__{{{list_ID}}}__**, {{{ name}}}, {{{content}}}, {{{is_public}}}, **__{{{user_ID*}}}__** (USER), {{{created_at}}}, {{{updated_at}}})28 9. **READING_LIST** (**__{{{list_ID}}}__**, {{{list_name}}}, {{{list_content}}}, {{{is_public}}}, **__{{{user_ID*}}}__** (USER), {{{list_created_at}}}, {{{list_updated_at}}}) 29 29 30 10. **NOTIFICATION** (**__{{{notification_ID}}}__**, {{{ content}}}, {{{is_read}}}, {{{created_at}}})30 10. **NOTIFICATION** (**__{{{notification_ID}}}__**, {{{notification_content}}}, {{{is_read}}}, {{{notification_created_at}}}) 31 31 * content_type (multi-valued attribute, see table **CONTENT_TYPE**) 32 32 33 33 11. **CONTENT_TYPE** (**__{{{notification_ID*}}}__** (NOTIFICATION), **__{{{content_type}}}__**) 34 34 35 12. **AI_SUGGESTION** (**__{{{suggestion_ID}}}__**, {{{original_text}}}, {{{suggested_text}}}, {{{accepted}}}, {{{ created_at}}}, {{{applied_at}}}, **__{{{story_ID*}}}__** (STORY))35 12. **AI_SUGGESTION** (**__{{{suggestion_ID}}}__**, {{{original_text}}}, {{{suggested_text}}}, {{{accepted}}}, {{{suggestion_created_at}}}, {{{applied_at}}}, **__{{{story_ID*}}}__** (STORY)) 36 36 37 37 13. **SUGGESTION_TYPE** (**__{{{suggestion_ID*}}}__** (AI_SUGGESTION), **__{{{suggestion_type}}}__**) 38 38 39 14. **LIKE** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{ created_at}}})39 14. **LIKE** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{like_created_at}}}) 40 40 41 15. **COMMENT** (**__{{{comment_ID}}}__**, {{{co ntent}}}, **__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{created_at}}}, {{{updated_at}}})41 15. **COMMENT** (**__{{{comment_ID}}}__**, {{{comment_content}}}, **__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{comment_created_at}}}, {{{comment_updated_at}}}) 42 42 43 16. **COLLABORATION** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{c reated_at}}})43 16. **COLLABORATION** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{collab_created_at}}}) 44 44 * role (multi-valued attribute, see table **ROLE**) 45 45 * permission_level (multi-valued attribute, see table **PERMISSION_LEVEL**)
