Skip to content

Commit 99464ca

Browse files
committed
renamed reset-db.sh
1 parent 27b38f4 commit 99464ca

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/functional_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
fi
101101
102102
- name: Reset database
103-
run: docker compose run scraper sh -c 'apk add postgresql-client && ./scripts/reset_db.sh;'
103+
run: docker compose run scraper sh -c 'apk add postgresql-client && ./scripts/reset-db.sh;'
104104

105105
- name: Run scraper again (to test cache)
106106
run: docker compose run scraper python3 src/main.py --db --all-colleges --ratings

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ python src/main.py --db
9292
This will create a new database `schedulerdb` and the necessary tables if they aren't already created, and then insert the data into the database. If the data is already populated, it will update the existing data. To delete all the data, make sure the environment variables specified in `src/db_config.py` are set and then run the following command (make sure you're using the Git Bash terminal if you're using Windows):
9393

9494
```bash
95-
./scripts/reset_db.sh
95+
./scripts/reset-db.sh
9696
```
9797

9898
To view the schema for the tables, you can look at the `src/create_tables.sql` file.
File renamed without changes.

0 commit comments

Comments
 (0)