OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/db/migrate/20101111150110_adjust_cost_...

18 lines
488 B

class AdjustCostQueryLayout < ActiveRecord::Migration
def self.up
remove_column :cost_queries, :filters
remove_column :cost_queries, :group_by
remove_column :cost_queries, :granularity
add_column :cost_queries, :yamlized, :string, :null => false
end
def self.down
add_column :cost_queries, :filters, :text
add_column :cost_queries, :group_bys, :text
add_column :cost_queries, :granularity, :string
remove_column :cost_queries, :yamlized
end
end