Traceback (most recent call last):
File "C:/Users/智汇谷东/PycharmProjects/movie_web/app/models.py", line 45, in <module>
class Tag(db.Model):
File "C:\Users\智汇谷东\movie\lib\site-packages\flask_sqlalchemy\__init__.py", line 602, in __init__
DeclarativeMeta.__init__(self, name, bases, d)
File "C:\Users\智汇谷东\movie\lib\site-packages\sqlalchemy\ext\declarative\api.py", line 64, in __init__
_as_declarative(cls, classname, cls.__dict__)
File "C:\Users\智汇谷东\movie\lib\site-packages\sqlalchemy\ext\declarative\base.py", line 88, in _as_declarative
_MapperConfig.setup_mapping(cls, classname, dict_)
File "C:\Users\智汇谷东\movie\lib\site-packages\sqlalchemy\ext\declarative\base.py", line 103, in setup_mapping
cfg_cls(cls_, classname, dict_)
File "C:\Users\智汇谷东\movie\lib\site-packages\sqlalchemy\ext\declarative\base.py", line 131, in __init__
self._setup_table()
File "C:\Users\智汇谷东\movie\lib\site-packages\sqlalchemy\ext\declarative\base.py", line 400, in _setup_table
if not table.c.contains_column(c):
AttributeError: 'str' object has no attribute 'c'
Process finished with exit code 1