repo.or.cz
/
askyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
;]
[askyou.git]
/
db
/
migrate
/
044_set_language_length_to_five.rb
blob
a417f7d7018a0c9d9affb18c805ee7cfc13555ff
1
class SetLanguageLengthToFive < ActiveRecord::Migration
2
def self.up
3
change_column :users, :language, :string, :limit => 5, :default => ""
4
end
5
6
def self.down
7
raise IrreversibleMigration
8
end
9
end