Forum: Ruby on Rails [BUG?] rake db:test:clone when index multi columns...

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kad K. (Guest)
on 2007-05-14 16:05
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

seems to taken in account at all....

rake db:schema:dump
=>    add_index "propositions", ["title", "description"], :name =>
in the schema.rb

is it a bug ?
This topic is locked and can not be replied to.