Skip to content

Conversation

@andy-wm-arthur
Copy link
Contributor

return NewPrimaryKeySchema(sch)
}

mapping := make(map[string]string)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mapping is a bit generic as a name. Maybe change to oldToNewNames or something along those lines.

Copy link
Contributor

@PavelSafronov PavelSafronov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.
The first commit had tests that were removed in the second commit, but those changes will be present in dolt: dolthub/dolt#5705

Approving.

@andy-wm-arthur andy-wm-arthur merged commit 2083514 into main Apr 6, 2023
@Hydrocharged Hydrocharged deleted the andy/alter-rename-pk branch August 24, 2023 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when trying column change

2 participants