create table if not exists oc_gestion_devis_facture (
	id INT PRIMARY KEY AUTO_INCREMENT,
	fk_devis_id INT NOT NULL,
	fk_facture_id INT NOT NULL
);

alter table oc_gestion_facture 
add column facture_type VARCHAR(50) NOT NULL DEFAULT 'SINGLE';