Your IP : 216.73.217.64


Current Path : /home3/gp97/gestion.cec.97gp.net/include/data/
Upload File :
Current File : //home3/gp97/gestion.cec.97gp.net/include/data/1.1.3_migration.sql

-- Make sure id_account is reset when a year is deleted
CREATE TRIGGER IF NOT EXISTS acc_years_delete BEFORE DELETE ON acc_years BEGIN
    UPDATE services_fees SET id_account = NULL, id_year = NULL WHERE id_year = OLD.id;
END;