about summary refs log tree commit diff
path: root/db/migrate/20161116162355_add_locale_to_users.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-16 17:51:02 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-16 17:56:31 +0100
commit2c766bd4b4c6dcf8e7c9a6dd9421edca0de57aba (patch)
treed84f472de5ff84502928fec8582be492c45a6faf /db/migrate/20161116162355_add_locale_to_users.rb
parent01e43c3e5799b575a70798056945365ddf51f3ad (diff)
Add user locale setting
Diffstat (limited to 'db/migrate/20161116162355_add_locale_to_users.rb')
-rw-r--r--db/migrate/20161116162355_add_locale_to_users.rb5
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