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

Constructor Details

#initializeNullMigration

Returns a new instance of NullMigration.


967
968
969
# File 'activerecord/lib/active_record/migration.rb', line 967

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

Instance Method Details

#mtimeObject


971
972
973
# File 'activerecord/lib/active_record/migration.rb', line 971

def mtime
  0
end