USE `sakti`;
ALTER TABLE `sakti_header`
	CHANGE COLUMN `ID` `ID` BIGINT NOT NULL AUTO_INCREMENT FIRST,
	ADD COLUMN `BAST_REALISASI` BIGINT NOT NULL DEFAULT '0' COMMENT 'ID Tabel sakti_bast_realisasi' AFTER `ID`,
	ADD COLUMN `NO_URUT_ADK` CHAR(50) NULL DEFAULT '1' AFTER `FLAG_ADK`,
	ADD COLUMN `INPUT_TIME` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP AFTER `NO_URUT_ADK`,
	ADD COLUMN `UPDATE_TIME` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP AFTER `INPUT_TIME`,
	ADD COLUMN `FLAG` SMALLINT NULL DEFAULT '0' AFTER `UPDATE_TIME`,
	ADD INDEX `BAST_REALISASI` (`BAST_REALISASI`);