moving clear db into the console