Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Conversation

jimgrimmett
Copy link

The function prototype in the money patch is:
def add_foreign_key(referencing_table_name, referencing_field_name, referenced_table_name, referenced_field_name = :id)

The function protoype in ActiveRecord is:
def add_foreign_key(to_table, options)

This means that many of the documented ways to call add_foreign_key in a migration do not work.

Please feel free to tell what I am missing here and suggest a better solution, but with this change in place, everything is working again.

…pe to the one in activerecord. Not clear that it is needed.
@jakub-tokaj-ah
Copy link

@jimgrimmett thanks for the PR, but as the repository readme says: https://github.com/AirHelp/partitioned#this-fork-is-no-longer-maintained

We are no longer maintaining this fork. If you need some functionality feel free to create and maintain your own.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants