If you want these fields to be ignored during migration, you can add the -:migration tag as follow:
-:migration
type MyModel struct { Test string `gorm:"column:test;-:migration"` }