CREATE TABLE `sync_to_jurnal_header` (                     
 `id_header` int(11) NOT NULL auto_increment,             
 `jenis_sinkron` enum('manual','otomatis') default NULL,  
 `jenis_data` enum('master','transaksi') default NULL,
 `date_created` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
 `type_con` enum('resto','retail') default 'resto',
 PRIMARY KEY  (`id_header`)                               
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

ALTER TABLE sync_to_jurnal ADD COLUMN id_header int(11) AFTER id;