Fix get current table
This commit is contained in:
@@ -490,7 +490,8 @@ func (m Migrator) GuessConstraintAndTable(stmt *gorm.Statement, name string) (_
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil, nil, ""
|
||||
|
||||
return nil, nil, stmt.Schema.Table
|
||||
}
|
||||
|
||||
func (m Migrator) CreateConstraint(value interface{}, name string) error {
|
||||
|
||||
Reference in New Issue
Block a user