Flask-SQLAlchemy, Mysql, Error #1005: Can't create table (errno: 105)?

Got Error #1005: Can't create table (errno: 105)?
I got the error when the Flask-SQLAlchemy tries
to init_db() of my models.py.

Well here is the solution you could check. That
you have to do is to create index  for the reference
ForeignKey column.

Hope It helps

Comments