Class Diagram
In Figure 1 we can see a Class Diagram that represents the structure of the application. As we can see most of the associations are of type composition which means that if a video, or eventually a user, is deleted from the database then, by consequence, all related activivities might also be removed from the database.