Mercurial > hg > soundsoftware-site
view db/migrate/079_add_user_preferences_time_zone.rb @ 1624:76f8f0814e1e live
Use --check to avoid errors when updating in repos with more than one head
author | Chris Cannam |
---|---|
date | Fri, 10 Aug 2018 16:08:05 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
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