From 7f965286ed6b1d7e906e8662daba0d49b1cf7666 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 6 Jul 2021 06:01:50 +0000 Subject: Default issue query (#7360). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- db/migrate/20210705111300_add_projects_default_issue_query_id.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20210705111300_add_projects_default_issue_query_id.rb (limited to 'db') 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 -- cgit v1.2.3