method

extract_foreign_key_action

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: SchemaStatements
extract_foreign_key_action(specifier) 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/postgresql/schema_statements.rb, line 521
        def extract_foreign_key_action(specifier) # :nodoc:
          case specifier
          when 'c'; :cascade
          when 'n'; :nullify
          when 'r'; :restrict
          end
        end
Register or log in to add new notes.