# \[BUG?\] rake db:test:clone when index multi columns

**URL:** <https://www.ruby-forum.com/t/bug-rake-dbclone-when-index-multi-columns/104112>\
**Category:** Rails\
**Created:** [May 14, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/bug-rake-dbclone-when-index-multi-columns/104112 "2007-05-14T14:05:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [May 14, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/bug-rake-dbclone-when-index-multi-columns/104112/1 "2007-05-14T14:05:48Z")

</div>

I tried to clone my DB and got an error : (Mysql 5 / Rails 1.2 / OS X)

rake aborted!  
Mysql::Error: BLOB/TEXT column ‘description’ used in key specification  
without a key length: CREATE INDEX `title_description` ON propositions  
(`title`, `description`)

but the index key length exists in my dev DB…

(from Mysql =\> title\_description INDEX title 25 description  
50)

seems to taken in account at all…

rake db:schema:dump  
=\> add\_index “propositions”, [“title”, “description”], :name =\>  
“title\_description”  
in the schema.rb

is it a bug ?
