OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/db/migrate/20100129193402_change_users...

10 lines
290 B

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