Skip to content

Conversation

@dstandish
Copy link
Contributor

Introduced in #34120.

Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it when I made my change and everything was fine, but now the column is created without the foreign key, I think it's because of an upgrade of sqlalchemy version.

I tested your change and it works:

>>> user_id.foreign_keys
{ForeignKey('ab_user.id')}

@hussein-awala hussein-awala merged commit 1fdc231 into apache:main Oct 1, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Oct 3, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
Introduced in #34120.

(cherry picked from commit 1fdc231)
@jedcunningham jedcunningham deleted the fix-foreign-key-warning branch January 25, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants