sql adding messages to dump

don't forget to upgrade your dabasase :-) issue 5