remove more useless columns from cost query table

pull/6827/head
Tim Felgentreff 14 years ago
parent 877d3a17e9
commit d92ac33711
  1. 11
      db/migrate/20101124150110_adjust_cost_query_layout_some_more.rb

@ -0,0 +1,11 @@
class AdjustCostQueryLayoutSomeMore < ActiveRecord::Migration
def self.up
remove_column :cost_queries, :display_cost_entries
remove_column :cost_queries, :display_time_entries
end
def self.down
add_column :cost_queries, :display_cost_entries, :boolean, :default => true
add_column :cost_queries, :display_time_entries, :boolean, :default => true
end
end
Loading…
Cancel
Save