method

new_check_constraint_definition

rails latest stable - Class: ActiveRecord::ConnectionAdapters::TableDefinition

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

new_check_constraint_definition(expression, options)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 575
      def new_check_constraint_definition(expression, options) # :nodoc:
        options = @conn.check_constraint_options(name, expression, options)
        CheckConstraintDefinition.new(name, expression, options)
      end