3
0

Fix lapsus on applying re-type alterations

This commit is contained in:
Tomaž Jerman 2023-06-20 13:57:28 +02:00
parent a830cddabb
commit ea1f6ca3cd

View File

@ -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) {
col, err := c.dataDefiner.ConvertAttribute(alt.AttributeAdd.Attr)
col, err := c.dataDefiner.ConvertAttribute(alt.AttributeReType.Attr)
if err != nil {
return
}