Changed the length of 'language' column in users table from 2 to 5, to allow long language codes like pt-br.
Updated portuguese translation (Arthur Zapparoli). Current pt translation moved to pt-br. git-svn-id: http://redmine.rubyforge.org/svn/trunk@518 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class SetLanguageLengthToFive < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :users, :language, :string, :limit => 5, :default => ""
|
||||
end
|
||||
|
||||
def self.down
|
||||
raise IrreversibleMigration
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user