##// END OF EJS Templates
Allow longer version names (#711, closes #712)....
Allow longer version names (#711, closes #712). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1220 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r515:5c88c1f50bd4
r1206:66594d46b20d
Show More
044_set_language_length_to_five.rb
9 lines | 209 B | text/x-ruby | RubyLexer
/ db / migrate / 044_set_language_length_to_five.rb
Jean-Philippe Lang
Changed the length of 'language' column in users table from 2 to 5, to allow long language codes like pt-br....
r515 class SetLanguageLengthToFive < ActiveRecord::Migration
def self.up
change_column :users, :language, :string, :limit => 5, :default => ""
end
def self.down
raise IrreversibleMigration
end
end