mirror of
https://github.com/redmine/redmine.git
synced 2024-07-29 08:17:16 +02:00
10 lines
209 B
Ruby
10 lines
209 B
Ruby
![]() |
class SetLanguageLengthToFive < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
change_column :users, :language, :string, :limit => 5, :default => ""
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
raise IrreversibleMigration
|
||
|
end
|
||
|
end
|