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

feat: add renameColumn migration step #1654

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhenkaGo
Copy link

I added the renameColumn migration step.

@radex
Copy link
Collaborator

radex commented Sep 1, 2023

Thanks for this! Have you looked at #1211 ? IIRC, there's a similar problem here as with deleting columns - that it may not work for older versions of SQLite. So at the very least there should be a big fat warning about this, or a workaround that works for all versions

@zhenkaGo zhenkaGo force-pushed the feat/rename-column-migration branch 2 times, most recently from f497bb0 to d668f65 Compare September 11, 2023 12:34
@zhenkaGo
Copy link
Author

Hi @radex. I've looked at #1211. I found a way around this problem for older versions of SQLite. You can read how it solves here. and please check how I implemented it in this PR.

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