alter table oc_gestion_facture add column document_generated_date DATE DEFAULT NULL, add column document_sent_date DATE DEFAULT NULL; create table if not exists oc_gestion_recap_facture_state ( id INT PRIMARY KEY AUTO_INCREMENT NOT NULL, fk_client_id INT, fk_client_group_facturation_id INT, month INT, year INT, document_generated_date DATE DEFAULT NULL, document_sent_date DATE DEFAULT NULL );