
CREATE OR REPLACE TABLE sage.clientSupplier (
	`companyFk` smallint(6) NOT NULL,
	`type` ENUM('C','P') NOT NULL,
	`idClientSupplier` INT NOT NULL,
	`isSync` TINYINT(1) NOT NULL DEFAULT 0,
	PRIMARY KEY (`companyFk`,`idClientSupplier`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci 
		COMMENT='Clients and suppliers present in Sage and their synchronization status';