summaryrefslogtreecommitdiffstats
path: root/db/migrate/20090425161243_add_queries_group_by.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-26 13:09:14 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-26 13:09:14 +0000
commitb557393252cc961c2f47dc90d50b75f76d7d7dca (patch)
treef7ebe7cfa18e256431393c7183146450e5377048 /db/migrate/20090425161243_add_queries_group_by.rb
parent24875be705fdca8e53b7c39a58023d13421628e3 (diff)
downloadredmine-b557393252cc961c2f47dc90d50b75f76d7d7dca.tar.gz
redmine-b557393252cc961c2f47dc90d50b75f76d7d7dca.zip
Ticket grouping (#2679).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2696 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20090425161243_add_queries_group_by.rb')
-rw-r--r--db/migrate/20090425161243_add_queries_group_by.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20090425161243_add_queries_group_by.rb b/db/migrate/20090425161243_add_queries_group_by.rb
new file mode 100644
index 000000000..1405f3d0b
--- /dev/null
+++ b/db/migrate/20090425161243_add_queries_group_by.rb
@@ -0,0 +1,9 @@
+class AddQueriesGroupBy < ActiveRecord::Migration
+ def self.up
+ add_column :queries, :group_by, :string
+ end
+
+ def self.down
+ remove_column :queries, :group_by
+ end
+end