Skip to content

Error creating tables in the sqlite database #1909

@Amartyanov1974

Description

@Amartyanov1974

Starting with tortoise 0.22, the documentation examples do not work correctly: tables are not created in the sqlite database.
Tested with Sanic and FastAPI examples.
Error: tortoise.exceptions.OperationalError: no such table: users.
After manually creating the table, the code works correctly.
Tested on tortoise ORM versions 0.24, 0.23, 0.22, 0.21.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions