Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix foreign_key containing the schema in the active record table backend #634

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

divanburger
Copy link

When a module is in a schema in the database the table name becomes something like 'my_schema.items' but the foreign key should not contain the schema part like it does now. So instead of the foreign key being 'my_schema.item_id' it will be 'item_id' instead.

@shioyama
Copy link
Owner

shioyama commented Mar 20, 2024

Thanks! Can you add a test for this and rebase on master?

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

Successfully merging this pull request may close these issues.

None yet

2 participants