update product sql

This commit is contained in:
noahnghg
2025-03-19 20:07:06 -06:00
parent 656801238c
commit 8000ed18bf

View File

@@ -31,6 +31,7 @@ CREATE TABLE Product (
StockQuantity INT, StockQuantity INT,
UserID INT, UserID INT,
Description TEXT, Description TEXT,
Timestamp DATETIME DEFAULT CURRENT_TIMESTAMP,
CategoryID INT NOT NULL, CategoryID INT NOT NULL,
FOREIGN KEY (UserID) REFERENCES User (UserID), FOREIGN KEY (UserID) REFERENCES User (UserID),
FOREIGN KEY (CategoryID) REFERENCES Category (CategoryID) FOREIGN KEY (CategoryID) REFERENCES Category (CategoryID)