Change from sqlite to postgresql.