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

`diesel print-schema` generates invalid code when automatic column renaming occurs #1244

Closed
sgrif opened this Issue Oct 8, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@sgrif
Member

sgrif commented Oct 8, 2017

This is generated when you run diesel print-schema against our test suite's schema

table! {
    with_keywords (fn_) {
        #[sql_name = fn]
        fn_ -> Int4,
        #[sql_name = let]
        let_ -> Int4,
        #[sql_name = extern]
        extern_ -> Int4,
    }
}

@sgrif sgrif added the bug label Oct 8, 2017

@sgrif sgrif added this to the 1.0 milestone Oct 8, 2017

@Eijebong

This comment has been minimized.

Member

Eijebong commented Oct 10, 2017

Fixed by #1252

@Eijebong Eijebong closed this Oct 10, 2017

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