Closed nathanielfernandes closed 4 months ago
Schema is designed and can be viewed in the "Schema visualizer" tab in the database.
Main "posts" table containing all the existing posts.
Three child tables to the posts table: items wanted, items for sale, academic services. This was created since these three typings will share many similar fields, but may also have unique fields related to their specific type of post.
Images table, storing an image linking to the post.
These tables use foreign keys to all be linked to each other, while maintaining individuality by having dedicated fields (no transitive dependencies yay) (bcnf :3)
Functions: Created functions to streamline creating data in the database, making it easy to insert rows.
we need to layout how our database will look
Task: