Class: MonarchMigrate::MigrationRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/monarch_migrate/migration_record.rb

Class Method Summary collapse

Class Method Details

.normalized_versionsObject



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

def normalized_versions
  all_versions.map { |v| normalize_version(v) }
end

.table_nameObject



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

def table_name
  "#{table_name_prefix}#{MonarchMigrate.data_migrations_table_name}#{table_name_suffix}"
end