instance method
invert_create_table
Ruby on Rails 8.0.4
Since v3.1.12 PrivateSignature
invert_create_table(args, &block)
No documentation comment.
Parameters
-
argsreq -
blockblock
Source
# File activerecord/lib/active_record/migration/command_recorder.rb, line 197
def invert_create_table(args, &block)
if args.last.is_a?(Hash)
args.last.delete(:if_not_exists)
end
super
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 197
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder