ALTER TABLE pp_shop_attributes CHANGE google_feed_status stock_influences INT(11) NOT NULL DEFAULT '0';
CREATE TABLE pp_shop_promotion ( id INT NOT NULL AUTO_INCREMENT , name VARCHAR(255) NOT NULL , status INT NOT NULL DEFAULT '0' , PRIMARY KEY (id)) ENGINE = InnoDB CHARSET=utf8 COLLATE utf8_polish_ci;
ALTER TABLE pp_shop_promotion ADD type INT NOT NULL DEFAULT '0' AFTER status;
ALTER TABLE pp_shop_promotion ADD amount DECIMAL(12,2) NULL AFTER type;
ALTER TABLE pp_shop_promotion ADD date_to DATE NULL DEFAULT NULL AFTER amount;
ALTER TABLE pp_shop_promotion ADD categories VARCHAR(255) NULL DEFAULT NULL AFTER date_to;
ALTER TABLE pp_shop_promotion ADD condition_categories VARCHAR(255) NULL DEFAULT NULL AFTER categories;