Skip to content

How to properly write a table name migration #802

Answered by tyt2y3
lpotthast asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the confusion, we now updated the examples.
#785

Basically you can do something like

#[derive(Iden)]
enum Post {
    Table,
    Id,
    Title,
    Text,
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by billy1624
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #795 on June 19, 2022 09:03.