79184200

Date: 2024-11-13 09:31:55
Score: 1
Natty:
Report link

If you want these fields to be ignored during migration, you can add the -:migration tag as follow:

type MyModel struct {
    Test string `gorm:"column:test;-:migration"`
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: xflr6