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


Popular posts from this blog

Arduino RFID, RC522, VUSB HID as Keyboard

Compile PHP with unixODBC options

Error: cannot find symbol import android.support.v4.app.ActivityCompat