bigdir/db/migrate/20090425161243_add_queries_...

10 lines
179 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddQueriesGroupBy < ActiveRecord::Migration
def self.up
add_column :queries, :group_by, :string
end
def self.down
remove_column :queries, :group_by
end
end