diff options
author | Go MAEDA <maeda@farend.jp> | 2021-07-06 06:01:50 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-07-06 06:01:50 +0000 |
commit | 7f965286ed6b1d7e906e8662daba0d49b1cf7666 (patch) | |
tree | aea4a14340b1e4ec29743bddf2cdef5f9b643206 /db | |
parent | 1b0bf2880374307e9669cfd4ed32cfe6677a3503 (diff) | |
download | redmine-7f965286ed6b1d7e906e8662daba0d49b1cf7666.tar.gz redmine-7f965286ed6b1d7e906e8662daba0d49b1cf7666.zip |
Default issue query (#7360).
Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20210705111300_add_projects_default_issue_query_id.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20210705111300_add_projects_default_issue_query_id.rb b/db/migrate/20210705111300_add_projects_default_issue_query_id.rb new file mode 100644 index 000000000..88e625b2d --- /dev/null +++ b/db/migrate/20210705111300_add_projects_default_issue_query_id.rb @@ -0,0 +1,9 @@ +class AddProjectsDefaultIssueQueryId < ActiveRecord::Migration[4.2] + def self.up + add_column :projects, :default_issue_query_id, :integer, :default => nil + end + + def self.down + remove_column :projects, :default_issue_query_id + end +end |