Remove trigger, use events for history logging in database.