Changed database for production from sqlite to postgres