changed sqlite to postgresql
small hotfix
small hotfix