Add initial postgres deployment sql

code. Its borrowed from another javapl project
so of course its all wrong at the moment.