diesel_cli_ext
diesel_cli_ext copied to clipboard
deprecation warning for #[table_name] macro attribute
warning: #[table_name] attribute form is deprecated
= help: use `#[diesel(table_name = coin_transaction)]` instead
I'm getting this all over my project, I guess the macro has changed, but I'm not sure how would we handle the update here, maybe a cli flag specifying a version?
should the expected usage be now #[sql_name="name"]
?
#[diesel(table_name = name)]
but you said that is deprecated (#[table_name] attribute form is deprecated)
warning: #[table_name] attribute form is deprecated
= help: use `#[diesel(table_name = coin_transaction)]` instead
I see. thank you
it needs to be wrapped in #[diesel(...)]
thank you, it is an amazing project and it saved me a lot of time :D
@Niedzwiedzw 0.3.9 published
it should containe the above syntax, use -v 1
to compat with diesel 1.x
perfection