diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-02 12:50:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-02 12:50:45 +0000 |
commit | 0f29e265fcf1ac2ccba26be51e2866903c0db0b5 (patch) | |
tree | 726433b3e87ede1f55cb9c851b9e26d5d6c3b09e /db | |
parent | 137aa1cf6636ad2ae3d42eb554bfac377f0cac6d (diff) | |
download | redmine-0f29e265fcf1ac2ccba26be51e2866903c0db0b5.tar.gz redmine-0f29e265fcf1ac2ccba26be51e2866903c0db0b5.zip |
Optionaly inherit members from parent project (#5605).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11298 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20130202090625_add_projects_inherit_members.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130202090625_add_projects_inherit_members.rb b/db/migrate/20130202090625_add_projects_inherit_members.rb new file mode 100644 index 000000000..9cf5bade3 --- /dev/null +++ b/db/migrate/20130202090625_add_projects_inherit_members.rb @@ -0,0 +1,9 @@ +class AddProjectsInheritMembers < ActiveRecord::Migration + def up + add_column :projects, :inherit_members, :boolean, :default => false, :null => false + end + + def down + remove_column :projects, :inherit_members + end +end |