Mercurial > hg > soundsoftware-site
view db/migrate/20100129193402_change_users_mail_notification_to_string.rb @ 39:150ceac17a8d
* Add a couple of files missed in last update -- brings us properly up to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 14:05:24 +0000 |
parents | 94944d00e43c |
children | af80e5618e9b |
line wrap: on
line source
class ChangeUsersMailNotificationToString < ActiveRecord::Migration def self.up change_column :users, :mail_notification, :string, :default => '', :null => false end def self.down change_column :users, :mail_notification, :boolean, :default => true, :null => false end end