database specification changed from sqlite to postgresql