fixed db to postgresql