Permalink
Browse files

Limited index length because of MySQL limitation

  • Loading branch information...
1 parent f4d4f10 commit b521ac678a22a5d2c5209fa55fa37c9f268dfaa3 Dévai Nándor committed May 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 generators/oauth_consumer/templates/migration.rb
@@ -9,7 +9,7 @@ def self.up
t.timestamps
end
- add_index :consumer_tokens, :token, :unique => true
+ add_index :consumer_tokens, :token, :unique => true, :length => 100
end

0 comments on commit b521ac6

Please sign in to comment.