Merge pull request #649 from kmycode/upstream-20240308

Upstream 20240308
This commit is contained in:
KMY(雪あすか) 2024-03-12 12:09:55 +09:00 committed by GitHub
commit 8e7c66522e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
237 changed files with 6221 additions and 2253 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