Skip to content

Duplicate fields #6

Description

@Raflos10

Sometimes duplicate fields are being generated.
For example:

#[derive(Debug, Clone)]
pub struct Record {
    pub id: uuid::Uuid,
    pub id: uuid::Uuid,
    pub updated_at: DateTime<Utc>,
}

Pretty sure I've only seen it happen with the primary key so far, but it doens't happen to every record with a primary key. I think it has something to do with the primary key being referenced by another table. But I'm not sure.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions