0
0
Fork 0

Use unchanging github links in docs/comments (#29545)

This commit is contained in:
Matt Jankowski 2024-03-11 11:14:55 -04:00 committed by GitHub
parent c10bbf5fe3
commit a38e424185
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 12 additions and 14 deletions

View file

@ -743,7 +743,8 @@ into similar problems in the future (e.g. when new tables are created).
private
# https://github.com/rails/rails/blob/v5.2.0/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb#L678-L684
# Private method copied from:
# https://github.com/rails/rails/blob/v7.1.3.2/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb#L974-L980
def extract_foreign_key_action(specifier)
case specifier
when 'c'; :cascade