Update DB to allow creating image-less products

This commit is contained in:
Thastertyn 2024-03-10 22:47:23 +01:00
parent 2eae36e8fd
commit f3f1652890

View File

@ -35,7 +35,7 @@ create table product(
seller_id int not null,
name varchar(32) not null,
price_pc decimal(12,2) not null,
image blob not null,
image blob,
image_name varchar(64),
foreign key (seller_id) references user(id)
) auto_increment = 13001;