socialforge/db/migrate/071_add_queries_column_name...

10 lines
189 B
Ruby
Raw Normal View History

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