feat: add renameColumn migration step
I added the renameColumn migration step.
Thanks for this! Have you looked at https://github.com/Nozbe/WatermelonDB/pull/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
Hi @radex. I've looked at https://github.com/Nozbe/WatermelonDB/pull/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.
Thanks @zhenkaGo -- I'll close this PR as the work continues in https://github.com/Nozbe/WatermelonDB/pull/1799