Skip to content

Commit

Permalink
Add note about updating importers.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling committed Jan 9, 2025
1 parent bfc4518 commit c7cb9bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apiv2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ $ FILE=tests/test_aggregates.py make test-file
| `make clean` | Removes all the docker containers started by this application. |

## How to make changes to the schema

**NOTE:** Most schema changes will require accompanying changes to the `db_import` scripts to support the new fields!

```
# First, make any necessary changes to `apiv2/schema/schema.yaml`, then run this to generate new code & migrations and apply them:
cd apiv2
Expand All @@ -51,6 +54,7 @@ pre-commit run --all-files
# Then commit all changed files, *including* any new migrations!
git commit -am "chore: Updating schema to add X feature"
```

## Creating an rdev stack
Expand Down

0 comments on commit c7cb9bf

Please sign in to comment.