-- P5-4783 add designer pricepremium for each product group

ALTER TABLE designers
    RENAME COLUMN pricepremium TO pricepremium_wallpaper;

ALTER TABLE designers
    ADD COLUMN pricepremium_canvas NUMERIC NOT NULL DEFAULT 0,
    ADD COLUMN pricepremium_poster NUMERIC NOT NULL DEFAULT 0,
    ADD COLUMN pricepremium_framed_print NUMERIC NOT NULL DEFAULT 0;

UPDATE designers SET pricepremium_canvas = pricepremium_wallpaper;
UPDATE designers SET pricepremium_poster = pricepremium_wallpaper;
UPDATE designers SET pricepremium_framed_print = pricepremium_wallpaper;
