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:
1 parent
d85f5518d9
commit
5c88c1f50b
27 files changed
+857
-230
No files matched your search
@@ -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