instance method
invert_drop_virtual_table
Ruby on Rails edge
Since v8.0.5.1 Private — implementation detail, not part of the public APISignature
invert_drop_virtual_table(args, kwargs)
No documentation comment.
Parameters
-
argsreq -
kwargsreq
Source
# File activerecord/lib/active_record/migration/command_recorder.rb, line 374
def invert_drop_virtual_table(args, kwargs)
_table_name, _module_name, values = args
raise ActiveRecord::IrreversibleMigration, "drop_virtual_table is only reversible if given options." unless values
super
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 374
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder