We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8f3522 commit a6493d2Copy full SHA for a6493d2
backend/README.md
@@ -62,3 +62,11 @@ If you now run [the frontend](../frontend/README.md) you should be able to commu
62
## Running Tests
63
64
Tests can be run with `poetry run pytest`
65
+
66
67
+## Running DB Migrations
68
69
+Load env variables with `source .env`
70
+Run Python locally `python3`
71
+Import migration file >>>: `from src.database.migrations.(migration_file_name) import up, down`
72
+Run migration >>>: `up()` / `down()`
0 commit comments