I'm using PHPMyAdmin

and I have this error,
Code:
#1170 - BLOB/TEXT column 'urlname' used in key specification without a key length
This is the command I used,
Code:
ALTER TABLE  `finishedurls` ADD  `urlname` TEXT NOT NULL ,
ADD INDEX (  `urlname` )
Now How do I fix this?

Thanks in advanced.