instance method
invert_add_check_constraint
Ruby on Rails 8.0.4
Since v7.1.6 PrivateSignature
invert_add_check_constraint(args)
No documentation comment.
Parameters
-
argsreq
Source
# File activerecord/lib/active_record/migration/command_recorder.rb, line 326
def invert_add_check_constraint(args)
if (options = args.last).is_a?(Hash)
options.delete(:validate)
options[:if_exists] = options.delete(:if_not_exists) if options.key?(:if_not_exists)
end
super
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 326
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder