removing unwanted table product_category

This commit is contained in:
Mann Patel
2025-04-22 14:27:32 -06:00
parent bbddc8566a
commit 9d05adacfb
5 changed files with 20 additions and 123 deletions

View File

@@ -105,15 +105,6 @@ CREATE TABLE Favorites (
UNIQUE (UserID, ProductID)
);
-- Product-Category Junction Table (Many-to-Many)
CREATE TABLE Product_Category (
ProductID INT,
CategoryID INT,
PRIMARY KEY (ProductID, CategoryID),
FOREIGN KEY (ProductID) REFERENCES Product (ProductID) ON DELETE CASCADE,
FOREIGN KEY (CategoryID) REFERENCES Category (CategoryID) ON DELETE CASCADE
);
-- Login Authentication table
CREATE TABLE AuthVerification (
UserID INT AUTO_INCREMENT PRIMARY KEY,