Fix lapsus on applying re-type alterations
This commit is contained in:
parent
a830cddabb
commit
ea1f6ca3cd
@ -362,7 +362,7 @@ func (c *connection) applyAlterationAttributeDelete(ctx context.Context, model *
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *connection) applyAlterationAttributeReType(ctx context.Context, model *dal.Model, alt *dal.Alteration) (err error) {
|
func (c *connection) applyAlterationAttributeReType(ctx context.Context, model *dal.Model, alt *dal.Alteration) (err error) {
|
||||||
col, err := c.dataDefiner.ConvertAttribute(alt.AttributeAdd.Attr)
|
col, err := c.dataDefiner.ConvertAttribute(alt.AttributeReType.Attr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user