Switch DB from sqlite to PostgreSQL