Module: DataMigrate

Includes:
ActiveSupport::Configurable
Defined in:
lib/data_migrate.rb,
lib/data_migrate/config.rb,
lib/data_migrate/railtie.rb,
lib/data_migrate/version.rb,
lib/generators/data_migrate.rb,
lib/data_migrate/data_schema.rb,
lib/data_migrate/rails_helper.rb,
lib/data_migrate/data_migrator.rb,
lib/data_migrate/schema_dumper.rb,
lib/data_migrate/database_tasks.rb,
lib/data_migrate/status_service.rb,
lib/data_migrate/schema_migration.rb,
lib/data_migrate/migration_context.rb,
lib/data_migrate/data_schema_migration.rb,
lib/data_migrate/tasks/data_migrate_tasks.rb,
lib/data_migrate/database_configurations_wrapper.rb,
lib/generators/data_migration/data_migration_generator.rb

Defined Under Namespace

Modules: DatabaseTasks, Generators, Tasks Classes: Config, Data, DataMigrator, DataSchemaMigration, DatabaseConfigurationWrapper, MigrationContext, RailsHelper, Railtie, SchemaDumper, SchemaMigration, StatusService

Constant Summary collapse

VERSION =
"11.0.0".freeze

Class Method Summary collapse

Class Method Details

.configObject



9
10
11
# File 'lib/data_migrate/config.rb', line 9

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



5
6
7
# File 'lib/data_migrate/config.rb', line 5

def configure
  yield config
end

.rootObject



18
19
20
# File 'lib/data_migrate.rb', line 18

def self.root
  File.dirname(__FILE__)
end