Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Open
yaziciahmet opened this issue Jan 1, 2023 · 0 comments
Open

Comments

@yaziciahmet
Copy link

yaziciahmet commented Jan 1, 2023

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)].

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

No branches or pull requests

1 participant