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/20130829084747_drop_model_j...

15 lines
552 B

class DropModelJournalsUpdatedOnColumn < ActiveRecord::Migration
def up
remove_column :work_package_journals, :updated_at
remove_column :wiki_content_journals, :updated_on
remove_column :time_entry_journals, :updated_on
remove_column :message_journals, :updated_on
end
def down
add_column :work_package_journals, :updated_at, :datetime
add_column :wiki_content_journals, :updated_on, :datetime
add_column :time_entry_journals, :updated_on, :datetime
add_column :message_journals, :updated_on, :datetime
end
end