Emergya/redmine_allocation — pull request #9 by drf (2012-09-16 15:16:20+00:00)
Title: Set default allocation to 0%

As the title says - having 100% as default doesn't really make sense, especially on new installations with a number of projects and users already active.

Rather than adding a new migration, I changed the original one, otherwise this setting wouldn't affect new installations, which are the main target of this change.

If you don't like this change, you can always add a new 002 with

class SetDefaultAllocationToZero < ActiveRecord::Migration
def self.up
change_column :members, :allocation, :integer, :default => 0
end

def self.down
change_column :members, :allocation, :integer, :default => 100
end
end

But I'd rather change the original one.