this is preliminary work for migrating mattermost from mysql to postgresql. This tool is specific to mattermost, but at least it's easy enough to build. I'm not sure if it makes sense to upstream, but I guess we can keep it around here.