Skip to content

Syntax Error on AutoMigrate Existing Database #5664

Answered by KiddoV
KiddoV asked this question in Q&A
Discussion options

You must be logged in to vote

NVM, I just figured it out. I have a confict column name. Gorm is generating "user_first_name " column, but my existing table has "user_firstname ".

Added gorm:"column:user_firstname" tag!

Replies: 1 comment

Comment options

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