summaryrefslogtreecommitdiffstats
path: root/db/migrate/20130713111657_add_queries_options.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-14 13:41:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-14 13:41:30 +0000
commit010bfc56e15f442e4e597ddc9c436361c61b1e7a (patch)
tree498f9a9cea5fac71c0f63c1a2f92ad02ed6f6470 /db/migrate/20130713111657_add_queries_options.rb
parent3c9263221d3d914b3e6b5f0b8c66ebd859d75403 (diff)
downloadredmine-010bfc56e15f442e4e597ddc9c436361c61b1e7a.tar.gz
redmine-010bfc56e15f442e4e597ddc9c436361c61b1e7a.zip
Ability to save Gantt query filters (#7836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12020 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20130713111657_add_queries_options.rb')
-rw-r--r--db/migrate/20130713111657_add_queries_options.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130713111657_add_queries_options.rb b/db/migrate/20130713111657_add_queries_options.rb
new file mode 100644
index 000000000..f203b11c4
--- /dev/null
+++ b/db/migrate/20130713111657_add_queries_options.rb
@@ -0,0 +1,9 @@
+class AddQueriesOptions < ActiveRecord::Migration
+ def up
+ add_column :queries, :options, :text
+ end
+
+ def down
+ remove_column :queries, :options
+ end
+end