Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: is_field_primary_key #206

Open
igor-kremin opened this issue Jun 20, 2024 · 0 comments
Open

fix: is_field_primary_key #206

igor-kremin opened this issue Jun 20, 2024 · 0 comments

Comments

@igor-kremin
Copy link

I also changed the function "is_field_primary_key"
def is_field_primary_key(self, field):
"""
Check whether key field description value can be interpreted as True
:param field:
:return:
"""
# return bool(field)
return field == 'PRI'

as it marks fileds as primary_key but some of them is not a primary key.

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

No branches or pull requests

1 participant