8000 AutoMigrate panic · Issue #3411 · go-gorm/gorm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
AutoMigrate panic #3411
Closed
Closed
@HelloHaiGG

Description

@HelloHaiGG

GORM Playground Link

I used automigrate to create tables , the models is a slice and item type is interface , panic

For Example:

for _, model := range models {
	err := dbIns.AutoMigrate(model)
	fmt.Println(err)
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0