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/015_add_cost_query_variable...

12 lines
377 B

class AddCostQueryVariables < ActiveRecord::Migration
def self.up
add_column :cost_queries, :display_cost_entries, :boolean, :default => true
add_column :cost_queries, :display_time_entries, :boolean, :default => true
end
def self.down
remove_column :cost_queries, :display_cost_entries
remove_column :cost_queries, :display_time_entries
end
end