summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-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