Sha256: 52a0fe3fb80836a51aafb17ab8c37f823b9e190c1d9c70732b3c64fc544f1413

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module DataMigrate
  ##
  # This class extends DatabaseTasks to add a data_schema_file method.
  class DatabaseTasks
    extend ActiveRecord::Tasks::DatabaseTasks

    def self.data_schema_file
      File.join(db_dir, "data_schema.rb")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
data_migrate-3.5.0 lib/data_migrate/database_tasks.rb
data_migrate-3.4.0 lib/data_migrate/database_tasks.rb
data_migrate-3.3.1 lib/data_migrate/database_tasks.rb