You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured a flask project with Postgres as db using flask-sqlalchemy and then also use as backend on Celery the same database and schema.
I created a model with a foreign ket to celery_tasks and modified the metadata of our db so that it realizes that. we have celery_taskmeta. So far it works but then, when testing on a pipeline when I run migrations (alembic) it does no detect the table celery_taskmeta.
Is there a way to explicitly create Celery task models on a schema or can you point me to the right documentation section?
Thanks in advance!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I configured a flask project with Postgres as db using flask-sqlalchemy and then also use as backend on Celery the same database and schema.
I created a model with a foreign ket to celery_tasks and modified the metadata of our db so that it realizes that. we have celery_taskmeta. So far it works but then, when testing on a pipeline when I run migrations (alembic) it does no detect the table celery_taskmeta.
Is there a way to explicitly create Celery task models on a schema or can you point me to the right documentation section?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions