ALTER TABLE `infpiek_int_ng`
  ADD COLUMN `DOWN_DAT_ZAP` TIMESTAMP DEFAULT '0000-00-00 00:00:00'   NOT NULL  COMMENT 'Data,czas kreowania'
;
ALTER TABLE `infpiek_int_ng`
  MODIFY COLUMN `DOWN_DAT_ZAP` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Data,czas kreowania'
;
UPDATE `infpiek_int_ng` SET DOWN_DAT_ZAP = INT_localtime WHERE DOWN_DAT_ZAP = '0000-00-00 00:00:00';
