Add trigger to Database