Skip to content

add-table-name should output table_name as table instead of string  #51

@yaziciahmet

Description

@yaziciahmet

I am using diesel 2.0.2.

Considering I have a table named article, the outputted table_name when used with --add-table-name option is string, eg. #[diesel(table_name = "article")]. But it should actually be something like #[diesel(table_name = crate::schema::article)].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions