Skip to content
Newer
Older
100644 10 lines (8 sloc) 202 Bytes
221d58a @kbingman changing user#language to user#locale to keep better in sync with Rai…
kbingman authored
1 class ChangeUserLanguageToLocale < ActiveRecord::Migration
2 def self.up
3 rename_column 'users', 'language', 'locale'
4 end
5
6 def self.down
7 rename_column 'users', 'locale', 'language'
8 end
9 end
Something went wrong with that request. Please try again.