Config fromsqlite to postgresql