Skip to content
Discussion options

You must be logged in to vote

Seems like your foreign key constraint is not considered to be valid according to the diesel internal implementation. That's most likely due to the reason that the constrain is not attached to any column in your credentials table.

For the other questions:

  • Diesel gets names from the information schema. Postgres only provides the lower case names there, so there is no way to get the original name from there.
  • The information schema does not contain any comments from the migration files. Therefore we do not have any access to them.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by crusty-dave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants