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

Merged

Conversation

divanburger
Copy link
Contributor

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?

@shioyama shioyama merged commit 5dfe11b into shioyama:master Nov 30, 2024
55 checks passed
shioyama added a commit that referenced this pull request Nov 30, 2024
@shioyama
Copy link
Owner

Test added in 6398256

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.

2 participants