Changes between Version 7 and Version 8 of P2
- Timestamp:
- 02/13/26 15:10:45 (5 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
P2
v7 v8 1 = Relational Design for ChapterX =2 3 == Notation ==4 5 * Primary keys are marked with __'''bold and underlined'''__6 * Required attributes are marked with '''bold'''7 * Foreign keys are marked with * and __underlined__8 9 == Tables ==10 11 1 = Relational Design for ChapterX = 12 2 … … 44 34 11. **CONTENT_TYPE** (**__{{{notification_ID*}}}__** (NOTIFICATION), **__{{{content_type}}}__**) 45 35 46 12. **AI_SUGGESTION** (**__{{{suggestion_ID}}}__**, {{{original_text}}}, {{{suggested_text}}}, {{{suggestion_type}}}, {{{accepted}}}, **__{{{story_ID*}}}__** (STORY)) 36 12. **AI_SUGGESTION** (**__{{{suggestion_ID}}}__**, {{{original_text}}}, {{{suggested_text}}}, {{{accepted}}}, **__{{{story_ID*}}}__** (STORY)) 37 * suggestion_type (multi-valued attribute, see table **SUGGESTION_TYPE**) 47 38 48 13. ** LIKE** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY))39 13. **SUGGESTION_TYPE** (**__{{{suggestion_ID*}}}__** (AI_SUGGESTION), **__{{{suggestion_type}}}__**) 49 40 50 14. ** COMMENT** (**__{{{comment_ID}}}__**, {{{content}}},**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY))41 14. **LIKE** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY)) 51 42 52 15. **COLLABORATION** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{role}}}, {{{permission_level}}}) 43 15. **COMMENT** (**__{{{comment_ID}}}__**, {{{content}}}, **__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY)) 44 45 16. **COLLABORATION** (**__{{{user_ID*}}}__** (USER), **__{{{story_ID*}}}__** (STORY), {{{role}}}, {{{permission_level}}}) 53 46 * role (multi-valued attribute, see table **ROLE**) 54 47 * permission_level (multi-valued attribute, see table **PERMISSION_LEVEL**) 55 48 56 1 6. **ROLE** (**__{{{user_ID*}}}__** (COLLABORATION), **__{{{story_ID*}}}__** (COLLABORATION), **__{{{role}}}__**)49 17. **ROLE** (**__{{{user_ID*}}}__** (COLLABORATION), **__{{{story_ID*}}}__** (COLLABORATION), **__{{{role}}}__**) 57 50 58 1 7. **PERMISSION_LEVEL** (**__{{{user_ID*}}}__** (COLLABORATION), **__{{{story_ID*}}}__** (COLLABORATION), **__{{{permission_level}}}__**)51 18. **PERMISSION_LEVEL** (**__{{{user_ID*}}}__** (COLLABORATION), **__{{{story_ID*}}}__** (COLLABORATION), **__{{{permission_level}}}__**) 59 52 60 1 8. **HAS_GENRE** (**__{{{story_ID*}}}__** (STORY), **__{{{genre_ID*}}}__** (GENRE))53 19. **HAS_GENRE** (**__{{{story_ID*}}}__** (STORY), **__{{{genre_ID*}}}__** (GENRE)) 61 54 62 55 === DDL script for creation and deletion of tables ===
