Skip to content

Commit

Permalink
setup-db: use mongosh instead of mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
abhidg committed Oct 26, 2022
1 parent d4e4042 commit eeaf4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-serving/scripts/setup-db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"import-sample-data": "python3 ./import-sample-data.py",
"migrate": "npm ci && migrate-mongo up",
"delete-all-cases": "mongo $CONN --eval 'db.cases.deleteMany({})'"
"delete-all-cases": "mongosh $CONN --eval 'db.cases.deleteMany({})'"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit eeaf4a5

Please sign in to comment.