Skip to content

fix: is_field_primary_key #206

Open
Open

Description

@igor-kremin

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions