mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Fix database URL examples in docs
This commit is contained in:
@@ -11,8 +11,8 @@ To work with your DBMS, you'll need to install the corresponding asyncio driver.
|
||||
|
||||
Examples of `DB_URL`s are:
|
||||
|
||||
* PostgreSQL: `engine = create_engine('postgresql+asyncpg://user:password@host:port/name')`
|
||||
* SQLite: `engine = create_engine('sqlite+aiosqlite:///name.db')`
|
||||
* PostgreSQL: `postgresql+asyncpg://user:password@host:port/name`
|
||||
* SQLite: `sqlite+aiosqlite:///name.db`
|
||||
|
||||
For the sake of this tutorial from now on, we'll use a simple SQLite database.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user