diff options
Diffstat (limited to 'db/migrate/20090425161243_add_queries_group_by.rb')
-rw-r--r-- | db/migrate/20090425161243_add_queries_group_by.rb | 9 |
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 |