read -p "This command will destroy the database and re-create it. Are you sure? " -n 1 -r echo # (optional) move to a new line if [[ $REPLY =~ ^[Yy]$ ]] then rm -f data.db sqlite3 data.db < ./src/server/db/schema.sql fi