Added product tests

This commit is contained in:
2024-01-10 23:44:59 +00:00
parent babc1d6471
commit 75e7ad5994
5 changed files with 67 additions and 6 deletions

View File

@ -34,7 +34,9 @@ CREATE TABLE IF NOT EXISTS Products (
categoryID INTEGER NOT NULL
REFERENCES Categories (id)
ON DELETE CASCADE
ON UPDATE NO ACTION
ON UPDATE NO ACTION,
postedDate TIMESTAMP,
quantityAvailable INTEGER DEFAULT 0
);
CREATE TABLE IF NOT EXISTS Orders (