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