diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-15 13:23:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-15 13:23:13 +0000 |
commit | f16cddd57ae87b820d24dd378ef036c52a4f15d4 (patch) | |
tree | c99481dd328c4cf9868af6422278ab8bd4bccede /db | |
parent | 37205a8991920e3bc403f52711308878fea05553 (diff) | |
download | redmine-f16cddd57ae87b820d24dd378ef036c52a4f15d4.tar.gz redmine-f16cddd57ae87b820d24dd378ef036c52a4f15d4.zip |
Private issues (#7414).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20110412065600_add_issues_is_private.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110412065600_add_issues_is_private.rb b/db/migrate/20110412065600_add_issues_is_private.rb new file mode 100644 index 000000000..2cc4e4b15 --- /dev/null +++ b/db/migrate/20110412065600_add_issues_is_private.rb @@ -0,0 +1,9 @@ +class AddIssuesIsPrivate < ActiveRecord::Migration + def self.up + add_column :issues, :is_private, :boolean, :default => false, :null => false + end + + def self.down + remove_column :issues, :is_private + end +end |