change the sqlite datebase to postgres