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/20170420082944_remove_legac...

14 lines
573 B

class RemoveLegacyTables < ActiveRecord::Migration[5.0]
def up
drop_table(:legacy_default_planning_element_types, if_exists: true)
drop_table(:legacy_enabled_planning_element_types, if_exists: true)
drop_table(:legacy_issues, if_exists: true)
drop_table(:legacy_journals, if_exists: true)
drop_table(:legacy_planning_element_types, if_exists: true)
drop_table(:legacy_planning_elements, if_exists: true)
drop_table(:legacy_user_identity_urls, if_exists: true)
end
# Down migration is not interesting as the data has been lost already
end