Changed database over to postgres