pgsql deployment with corpus/makina-states