removed default fields and changed messageTypeId to configId in
message_to/from tables