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
But unable to create database when running 'from app import db' and 'db.create_all()' in flask shell,The error is as follows:
The 'db.create_all()' can be run successfully and the database can be created successfully when I downgrade SQLAlchemy's version to 1.3.6
Actual results
The 'db.create_all()' can not be run successfully when the SQLAlchemy's version is 1.4.0 and 1.4.1
Expected results
The 'db.create_all()' should be run successfully when the SQLAlchemy's version is 1.4.0 and 1.4.1, like 1.3.6. The flask-sqlalchemy
should be compatible with the latest SQLAlchemy
Environment: win
Python version:3.7.9
Flask-SQLAlchemy version:2.4.4
SQLAlchemy version:1.4.0
The text was updated successfully, but these errors were encountered:
Description
Actual results
The 'db.create_all()' can not be run successfully when the SQLAlchemy's version is 1.4.0 and 1.4.1
Expected results
The 'db.create_all()' should be run successfully when the SQLAlchemy's version is 1.4.0 and 1.4.1, like 1.3.6. The flask-sqlalchemy
should be compatible with the latest SQLAlchemy
Environment: win
The text was updated successfully, but these errors were encountered: