Changes between Version 5 and Version 6 of P5
- Timestamp:
- 04/07/26 22:39:11 (6 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
P5
v5 v6 73 73 === 2NF Check 74 74 Every table that has a simple (non-composite) primary key is already in 2NF, so we only need to check the tables that have composite keys. 75 75 76 STATUS {story_id, status} → There are no other attributes, so it satisfies 2NF. 77 76 78 CONTENT_TYPE {notification_id, content_type} → There are no other attributes, so it satisfies 2NF. 79 77 80 SUGGESTION_TYPE {suggestion_id, suggestion_type} → There are no other attributes, so it satisfies 2NF. 81 78 82 LIKES {user_id, story_id} → like_created_at depends on {user_id, story_id} together, so it satisfies 2NF. 83 79 84 COLLABORATION {user_id, story_id} → collab_created_at depends on {user_id, story_id} together, so it satisfies 2NF. 85 80 86 ROLES {user_id, story_id, roles} → There are no other attributes, so it satisfies 2NF. 87 81 88 PERMISSION_LEVEL {user_id, story_id, permission_level} → There are no other attributes, so it satisfies 2NF. 89 82 90 HAS_GENRE {story_id, genre_id} → There are no other attributes, so it satisfies 2NF. 91 83 92 READING_LIST_ITEMS {list_id, story_id} → added_at depends on {list_id, story_id} together, so it satisfies 2NF. 93 84 94 NOTIFY {user_id, story_id, notification_id} → There are no other attributes, so it satisfies 2NF. 95 85 96 NEED_APPROVAL {suggestion_id, story_id, chapter_id} → There are no other attributes, so it satisfies 2NF. 97 86 98 Since there are no partial dependencies in any of the tables, this schema satisfies 2NF.
