Show More
Commit Description:
update migration
Commit Description:
update migration
File last commit:
Show/Diff file:
Action:
db/migrate/20081215012843_change_user_login_string_limit.rb | 9 lines | 209 B | text/x-ruby | RubyLexer |
class ChangeUserLoginStringLimit < ActiveRecord::Migration[4.2]
def self.up
execute "ALTER TABLE `users` CHANGE `login` `login` VARCHAR( 50 )"
end
def self.down
# don't have to revert
end
end