Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated product table #64

Open
maskedman227 opened this issue Feb 6, 2025 · 1 comment
Open

updated product table #64

maskedman227 opened this issue Feb 6, 2025 · 1 comment
Assignees

Comments

@maskedman227
Copy link
Contributor

maskedman227 commented Feb 6, 2025

we need to add more information in the card table so that the product page can have an in depth description.

@maskedman227 maskedman227 self-assigned this Feb 6, 2025
@maskedman227 maskedman227 converted this from a draft issue Feb 6, 2025
@maskedman227
Copy link
Contributor Author

current products table database scematic:

CREATE TABLE Products (
ID INT AUTO_INCREMENT PRIMARY KEY,
Name VARCHAR(255) NOT NULL,
Price DECIMAL(10,2) NOT NULL,
Description TEXT,
Quantity INT DEFAULT 0,
Image_Path VARCHAR(255),
Created_At DATETIME,
Modified_At DATETIME,
Status TINYINT DEFAULT 1,
Discount DECIMAL(10,2),
Discount_ID INT,
Sticker_ID INT,
Featured TINYINT DEFAULT 0,
CONSTRAINT fk_products_discount
FOREIGN KEY (Discount_ID)
REFERENCES Discount(ID)
ON DELETE SET NULL
ON UPDATE CASCADE,
CONSTRAINT fk_products_sticker
FOREIGN KEY (Sticker_ID)
REFERENCES Stickers(ID)
ON DELETE SET NULL
ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

we need to add an indepth description, a video link and spesification

@Konk32 Konk32 added this to the Presentation for teachers milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants