The current column is VARCHAR (255) NOT NULL, so how to change it in TEXT NOT NULL?
NOTE. A column designed to change its property type is a combination of the UNIQUE KEY of another column. For instance.
UNIQUE KEY (name, description)
The column description is currently in varchar (255). Because of this, it cannot be changed:
ERROR 1170 (42000): BLOB / TEXT column description used in key specification without key length
I need it to be TEXT, otherwise I need to recreate all this? I already got some tedious and important data. It will be problematic to recreate.
source share