ALTER TABLE product_category ADD FOREIGN KEY (categoryid) REFERENCES category(id) ON DELETE RESTRICT ON UPDATE RESTRICT;