tried changing to postgresql from sqlite