Change database adapters to postgresql