Module: MonarchMigrate

Defined in:
lib/monarch_migrate.rb,
lib/monarch_migrate/railtie.rb,
lib/monarch_migrate/testing.rb,
lib/monarch_migrate/version.rb,
lib/monarch_migrate/migrator.rb,
lib/monarch_migrate/migration.rb,
lib/monarch_migrate/migration_record.rb,
lib/generators/monarch_migrate/install/install_generator.rb

Overview

:nodoc

Defined Under Namespace

Modules: Generators, Testing Classes: Migration, MigrationRecord, Migrator, Railtie, TestCase

Constant Summary collapse

VERSION =
"0.8.0"

Class Method Summary collapse

Class Method Details

.data_migrations_pathObject



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

def self.data_migrations_path
  "db/data_migrate"
end

.data_migrations_table_nameObject



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

def self.data_migrations_table_name
  "data_migration_records"
end

.migratorObject



13
14
15
# File 'lib/monarch_migrate.rb', line 13

def self.migrator
  Migrator.new(data_migrations_path, version: ENV.fetch("VERSION", nil))
end