CREATE TRIGGER `HAB-insert` BEFORE INSERT ON `HAB` FOR EACH ROW SET NEW.hab_created=NOW();