Permalink
Browse files

allow locales like zh-CN

  • Loading branch information...
1 parent 880f1dd commit 599edef81d01c9ecb3bef86ec771f3d37035647f @itgod itgod committed with parndt Mar 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrate/20101217113424_add_locale_to_slugs.rb
@@ -1,6 +1,6 @@
class AddLocaleToSlugs < ActiveRecord::Migration
def self.up
- add_column :slugs, :locale, :string, :limit => 2
+ add_column :slugs, :locale, :string, :limit => 5
add_index :slugs, :locale
end

0 comments on commit 599edef

Please sign in to comment.