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

MySQL key length issue again #27

Open
kinnalru opened this issue Oct 23, 2013 · 1 comment
Open

MySQL key length issue again #27

kinnalru opened this issue Oct 23, 2013 · 1 comment

Comments

@kinnalru
Copy link

$ vines schema wonderland.lit
-- create_table(:users, {:force=>false})
-> 0.1843s
-- add_index(:users, :jid, {:unique=>true})
Schema creation failed: Mysql2::Error: Specified key was too long; max key length is 767 bytes: CREATE UNIQUE INDEX index_users_on_jid ON users (jid)

$ gem list vines

*** LOCAL GEMS ***

vines (0.4.7)
vines-agent (0.1.4)
vines-couchdb (0.1.0)
vines-services (0.1.4)
vines-sql (0.1.0)
vines-web (0.1.1)

@kinnalru
Copy link
Author

storage 'sql' do
  adapter 'mysql2'
  host 'localhost'
  port 5432
  database 'xmpp'
  username 'root'
  password ''
  pool 5
end

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

1 participant