method

extract_foreign_key_action

Importance_0
v7.1.3.2 - 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 974
          def extract_foreign_key_action(specifier)
            case specifier
            when "c"; :cascade
            when "n"; :nullify
            when "r"; :restrict
            end
          end
Register or log in to add new notes.