Skip to content

Alembic doesn't recognize new model  #1

@poberherr

Description

@poberherr

The automatic creation of the alembic script with migrate.py db migrate doesn't recognize the model in the new task app i added.

If the model is set in /app/init.py and also should include the task app.
from app.users.models import db db.init_app(app) -> how do I add the task model nicely?

HINT: If you copy the model into /app/users/models.py you can run the create script properly and the API for that works properly over the task flask app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions