summaryrefslogtreecommitdiffstats
path: root/db/migrate/079_add_user_preferences_time_zone.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-19 22:28:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-19 22:28:43 +0000
commitdeb182337d14872c5481059382459f5c21502162 (patch)
treea46bb4e773e77ae63be280e31c2ac949507d1d6b /db/migrate/079_add_user_preferences_time_zone.rb
parenta1f3497ec46881753fc13d25c3cd2cb344ae27d8 (diff)
downloadredmine-deb182337d14872c5481059382459f5c21502162.tar.gz
redmine-deb182337d14872c5481059382459f5c21502162.zip
* Added time zone support: users can select their time zone on their account view.
* Updated Polish translation (Mariusz Olejnik). * Fixed: Projects should be listed with case mixed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@917 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/079_add_user_preferences_time_zone.rb')
-rw-r--r--db/migrate/079_add_user_preferences_time_zone.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/079_add_user_preferences_time_zone.rb b/db/migrate/079_add_user_preferences_time_zone.rb
new file mode 100644
index 000000000..9e36790a9
--- /dev/null
+++ b/db/migrate/079_add_user_preferences_time_zone.rb
@@ -0,0 +1,9 @@
+class AddUserPreferencesTimeZone < ActiveRecord::Migration
+ def self.up
+ add_column :user_preferences, :time_zone, :string
+ end
+
+ def self.down
+ remove_column :user_preferences, :time_zone
+ end
+end