CREATE TABLE IF NOT EXISTS cscart_nested_option_product_statuses (
  product_id int unsigned NOT NULL,
  hide_on_frontend enum('Y','N') NOT NULL DEFAULT 'N',
  PRIMARY KEY (product_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8

Query is invalid