#84 ✓resolved
Jan Åge Johnsen

db:migrate breaks on mysql 4

Reported by Jan Åge Johnsen | July 21st, 2009 @ 12:34 PM

Using InnoDB and utf8 breaks with the follwing error:

Mysql::Error: Specified key was too long; max key length is 1024 bytes: CREATE INDEX index_records_on_name_and_type ON records (name, type)

Fixed by adding :limit => 16 on record.type in db/migrate/002_create_records.rb

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

This issue tracker has been deprecated. Please use the Github issue tracker at https://github.com/kennethkalmer/powerdns-on-rails/issues

Thank you

People watching this ticket