-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add support for the "change"-function #39
Comments
Does Laravel have a change function already that works with other database backends or are you just suggesting that this pattern should be made into a nice function? |
@carlsverre Yes, the function exists and works with other databases. I am migrating from mysql driver to singlestore, and I have several migrations that use the |
Gotcha. This is a great feature request. Thank you! |
Hi, any news about this issue/feature request? |
@carlsverre I like this suggestion. Can this all be done in a single SQL DB transaction? |
Unfortunately alter tables in SingleStore don't operate within user defined transactions. So it's not possible to perform this entire column change process atomically. |
Add some readme bits for singlestore-labs#39 until support is defined for that method.
Is this issue still relevant? It's easy to implement this using the OP's workaround: adding, inserting, dropping, renaming. |
You may check PR #88 |
It would be great if this feature was supported.
As I understand, the following would have to be done in order to change a field (This example changes a field called "name" from a varchar to text):
utf8mb4_unicode_ci
; )Would it be possible to implement this? Or is there already another way to do this?
The text was updated successfully, but these errors were encountered: