Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
grigi committed Nov 7, 2018
1 parent 2971b42 commit c3cedbd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ You can do it like this:
Here we create connection to SQLite database in the local directory called ``db.sqlite3``, and then we discover & initialise models.

Tortoise ORM currently supports the following databases:

* SQLite
* PostgreSQL (requires ``asyncpg``)
* MySQL (requires ``aiomysql``)

``generate_schema`` generates schema on empty database, you shouldn't run it on every app init, run it just once, maybe out of your main code.

After that you can start using your models:
Expand Down

0 comments on commit c3cedbd

Please sign in to comment.