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
Running script /app/prestart.sh
Run flask migration upgrades (show current version first)
Traceback (most recent call last):
File "/usr/local/bin/flask", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 990, in main
cli.main(args=sys.argv[1:])
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 596, in main
return super().main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 439, in decorator
with __ctx.ensure_object(ScriptInfo).load_app().app_context():
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 406, in load_app
app = locate_app(self, import_name, None, raise_if_not_found=False)
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 256, in locate_app
__import__(module_name)
File "/app/app.py", line 25, in <module>
from models import User # noqa
File "/app/models.py", line 5, in <module>
recipe_tag = db.Table(
AttributeError: module 'app.db' has no attribute 'Table'
Note: I changed Flask-Login to 0.6.2. Probably not relevant.
The text was updated successfully, but these errors were encountered:
Logs from my docker container:
Note: I changed Flask-Login to 0.6.2. Probably not relevant.
The text was updated successfully, but these errors were encountered: