Database change to postgres for production

p1-t6