diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-01 08:44:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-01 08:44:17 +0000 |
commit | e5f5671d66295100d719d4712a03015268d65e02 (patch) | |
tree | 3fd5ffdf275047e85b4c5c1a6e77cd2ca6b7c2ac /db/migrate/071_add_queries_column_names.rb | |
parent | 427b47b4d72276b5c80d79cd5f8e16c2aa31da1e (diff) | |
download | redmine-e5f5671d66295100d719d4712a03015268d65e02.tar.gz redmine-e5f5671d66295100d719d4712a03015268d65e02.zip |
Added the ability to customize columns of a saved query.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@782 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/071_add_queries_column_names.rb')
-rw-r--r-- | db/migrate/071_add_queries_column_names.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/071_add_queries_column_names.rb b/db/migrate/071_add_queries_column_names.rb new file mode 100644 index 000000000..acaf4dab0 --- /dev/null +++ b/db/migrate/071_add_queries_column_names.rb @@ -0,0 +1,9 @@ +class AddQueriesColumnNames < ActiveRecord::Migration + def self.up + add_column :queries, :column_names, :text + end + + def self.down + remove_column :queries, :column_names + end +end |