Move routine pg stuff to deuterium-orm