We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docs/tutorial/fastapi/simple-hero-api.md
1 parent ab79c22 commit 6e3bae0Copy full SHA for 6e3bae0
docs/tutorial/fastapi/simple-hero-api.md
@@ -60,7 +60,7 @@ And then create an `app` object that is an instance of that `FastAPI` class:
60
61
## Create Database and Tables on `startup`
62
63
-We want to make sure that once the app starts running, the function `create_tables` is called. To create the database and tables.
+We want to make sure that once the app starts running, the function `create_db_and_tables` is called. To create the database and tables.
64
65
This should be called only once at startup, not before every request, so we put it in the function to handle the `"startup"` event:
66
0 commit comments