work with unicorn and postgres