Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate_plugins error ( BLOB/TEXT column 'command' used in key specification without a key length) #171

Open
techzhou opened this issue Sep 9, 2012 · 2 comments

Comments

@techzhou
Copy link

techzhou commented Sep 9, 2012

==  CreateGitCaches: migrating ================================================
-- create_table(:git_caches)
   -> 0.0033s
-- add_index(:git_caches, :command)
rake aborted!
An error has occurred, all later migrations canceled:

Mysql2::Error: BLOB/TEXT column 'command' used in key specification without a key length: CREATE  INDEX `index_git_caches_on_command` ON `git_caches` (`command`)

branch:2.0-migration
redmine:2.0.3

@plsamuel
Copy link

I also had this error during installation of the 2.0-migration branch over redmine 2.0.3.

@oliwel
Copy link

oliwel commented Jan 30, 2013

You can comment out the line "add_index :git_caches, :command" in redmine_git_hosting/db/migrate/20091119162428_create_git_caches.rb and create the index in mysql yourself afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants