chris@37: class ChangeUsersMailNotificationToString < ActiveRecord::Migration chris@37: def self.up chris@37: change_column :users, :mail_notification, :string, :default => '', :null => false chris@37: end chris@37: chris@37: def self.down chris@37: change_column :users, :mail_notification, :boolean, :default => true, :null => false chris@37: end chris@37: end