Skip to content

Develop#181

Open
TetianaSavenko wants to merge 4 commits into
mate-academy:mainfrom
TetianaSavenko:develop
Open

Develop#181
TetianaSavenko wants to merge 4 commits into
mate-academy:mainfrom
TetianaSavenko:develop

Conversation

@TetianaSavenko

Copy link
Copy Markdown

No description provided.

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

The database normalization to 3NF is well-executed — you've correctly decomposed the original table into Countries, Products, Warehouses, and ProductInventory with proper foreign key relationships, and the test data is properly mapped across all four tables. Add DROP DATABASE IF EXISTS ShopDB; at the very beginning of your script before CREATE DATABASE ShopDB; to ensure a clean slate each time the script runs. Consider using ON DELETE CASCADE or SET NULL for the Warehouses.CountryID foreign key instead of NO ACTION for improved data management flexibility.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants