mysql avant l'insert de mise à jour

drop trigger if exists history;
delimiter //
CREATE TRIGGER history
BEFORE UPDATE ON table_name
FOR EACH ROW 
	BEGIN
    INSERT INTO his_table(numer, data, ilosc)
        VALUES(old.numer, old.numer, old.ilosc);
    END;
    //
Breakable Bear