method

add_check_constraint

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: SchemaStatements
add_check_constraint(table_name, expression, **options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_statements.rb, line 99
        def add_check_constraint(table_name, expression, **options)
          alter_table(table_name) do |definition|
            definition.check_constraint(expression, **options)
          end
        end
Register or log in to add new notes.