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.



768
769
770
# File 'activerecord/lib/active_record/migration.rb', line 768

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

Instance Method Details

#mtimeObject



772
773
774
# File 'activerecord/lib/active_record/migration.rb', line 772

def mtime
  0
end