Open
Description
Describe the bug
MySQL failed adding foreign key to attendance.link_to_member referencing member.None: 1170 (42000): BLOB/TEXT column 'link_to_member' used in key specification without a key length
Traceback (most recent call last)
System Information
$ sqlite3mysql --version
software | version |
---|---|
sqlite3-to-mysql | 2.0.2 |
Operating System | Darwin 21.3.0 |
Python | CPython 3.9.16 |
MySQL | mysql Ver 8.0.28 for macos11 on x86_64 (MySQL Community Server - GPL) |
SQLite | 3.42.0 |
click | 8.1.3 |
mysql-connector-python | 8.0.33 |
pytimeparse2 | 1.7.1 |
simplejson | 3.19.1 |
tabulate | 0.9.0 |
tqdm | 4.65.0 |
For fields which are of type text in sqlite3 and are foreign keys, it should automatically assign some length to key