@ -3,9 +3,6 @@ require 'open_project/plugins/migration_mapping'
# This migration aggregates the migrations detailed in MIGRATION_FILES
class AggregatedCostsMigrations < ActiveRecord::Migration
class IncompleteMigrationsError < ::StandardError
end
def initialize
super
@issues_table_exists = ActiveRecord::Base.connection.tables.include? 'issues'
@ -9,9 +9,9 @@
# See doc/COPYRIGHT.rdoc for more details.
#++
require_relative 'migration_utils/utils'
require Rails.root.join("db","migrate","migration_utils","utils").to_s
class LegacyIssuesToWorkPackages < ActiveRecord::Migration
class LegacyIssuesCostsDataToWorkPackages < ActiveRecord::Migration
def up
execute <<-SQL
@ -19,9 +19,9 @@
#
require_relative 'migration_utils/legacy_journal_migrator'
require Rails.root.join("db","migrate","migration_utils","legacy_journal_migrator").to_s
class LegacyVariableCostObjectData < ActiveRecord::Migration
class LegacyVariableCostObjectJournalData < ActiveRecord::Migration
migrator.run