diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-16 17:51:02 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-16 17:56:31 +0100 |
commit | 2c766bd4b4c6dcf8e7c9a6dd9421edca0de57aba (patch) | |
tree | d84f472de5ff84502928fec8582be492c45a6faf /db/migrate | |
parent | 01e43c3e5799b575a70798056945365ddf51f3ad (diff) |
Add user locale setting
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20161116162355_add_locale_to_users.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20161116162355_add_locale_to_users.rb b/db/migrate/20161116162355_add_locale_to_users.rb new file mode 100644 index 000000000..ec1a42ef1 --- /dev/null +++ b/db/migrate/20161116162355_add_locale_to_users.rb @@ -0,0 +1,5 @@ +class AddLocaleToUsers < ActiveRecord::Migration[5.0] + def change + add_column :users, :locale, :string + end +end |