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/20210310101840_generalize_e...

15 lines
316 B

class GeneralizeExports < ActiveRecord::Migration[6.1]
def change
rename_table :work_package_exports, :exports
change_table :exports do |t|
t.string :type
end
reversible do |dir|
dir.up do
execute "UPDATE exports SET type = 'WorkPackages::Export'"
end
end
end
end