Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve rename_column SQLite behavior #95

Merged
merged 2 commits into from
Jul 6, 2020
Merged

Improve rename_column SQLite behavior #95

merged 2 commits into from
Jul 6, 2020

Conversation

aeneasr
Copy link
Member

@aeneasr aeneasr commented Jul 6, 2020

No description provided.

`ALTER TABLE .. RENAME COLUMN .. TO ..` is officially supported and does not need the temporary table workaround.
@aeneasr aeneasr requested a review from a team as a code owner July 6, 2020 12:52
@aeneasr
Copy link
Member Author

aeneasr commented Jul 6, 2020

@stanislas-m not a code owner so I'm not able to review this PR and merge it myself :D

sql = append(sql, s)

return strings.Join(sql, "\n"), nil
oc := t.Columns[0]
Copy link
Member Author

Choose a reason for hiding this comment

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

This is basically the primary change.

@stanislas-m
Copy link
Member

@stanislas-m not a code owner so I'm not able to review this PR and merge it myself :D

It's not about being a code owner, each PR needs a proper review from someone else than the author. :)

@stanislas-m stanislas-m merged commit 4e9fb9c into master Jul 6, 2020
@stanislas-m stanislas-m deleted the fix-ref branch July 6, 2020 21:45
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.

None yet

2 participants