Switch from sqlite to psql