Class: ActiveRecord::NullMigration

Inherits:
MigrationProxy show all
Defined in:
activerecord/lib/active_record/migration.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from MigrationProxy

#filename, #name, #scope, #version

Instance Method Summary collapse

Methods inherited from MigrationProxy

#basename

Methods inherited from Struct

#as_json, #to_h

Constructor Details

#initializeNullMigration

Returns a new instance of NullMigration.



726
727
728
# File 'activerecord/lib/active_record/migration.rb', line 726

def initialize
  super(nil, 0, nil, nil)
end

Instance Method Details

#mtimeObject



730
731
732
# File 'activerecord/lib/active_record/migration.rb', line 730

def mtime
  0
end