Changes between Version 5 and Version 6 of P5


Ignore:
Timestamp:
04/07/26 22:39:11 (6 days ago)
Author:
211099
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • P5

    v5 v6  
    7373=== 2NF Check
    7474Every 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
    7576STATUS {story_id, status} → There are no other attributes, so it satisfies 2NF.
     77
    7678CONTENT_TYPE {notification_id, content_type} → There are no other attributes, so it satisfies 2NF.
     79
    7780SUGGESTION_TYPE {suggestion_id, suggestion_type} → There are no other attributes, so it satisfies 2NF.
     81
    7882LIKES {user_id, story_id} → like_created_at depends on {user_id, story_id} together, so it satisfies 2NF.
     83
    7984COLLABORATION {user_id, story_id} → collab_created_at depends on {user_id, story_id} together, so it satisfies 2NF.
     85
    8086ROLES {user_id, story_id, roles} → There are no other attributes, so it satisfies 2NF.
     87
    8188PERMISSION_LEVEL {user_id, story_id, permission_level} → There are no other attributes, so it satisfies 2NF.
     89
    8290HAS_GENRE {story_id, genre_id} → There are no other attributes, so it satisfies 2NF.
     91
    8392READING_LIST_ITEMS {list_id, story_id} → added_at depends on {list_id, story_id} together, so it satisfies 2NF.
     93
    8494NOTIFY {user_id, story_id, notification_id} → There are no other attributes, so it satisfies 2NF.
     95
    8596NEED_APPROVAL {suggestion_id, story_id, chapter_id} → There are no other attributes, so it satisfies 2NF.
     97
    8698Since there are no partial dependencies in any of the tables, this schema satisfies 2NF.