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

Update type column in config table #34

Merged

Conversation

YunusEmreNalbant
Copy link
Contributor

To change a column type from enum to string in a Laravel migration, you need to use the change() method provided by the doctrine/dbal package. However, there is a known limitation with the change() method when it comes to altering enum columns because enum is a non-standard type in MySQL and is not fully supported by the Doctrine DBAL library.

I manually specified SQL to change the column type in migration.

@YunusEmreNalbant YunusEmreNalbant changed the title feat(database): Update type column in config table Update type column in config table Mar 7, 2024
@frkcn frkcn merged commit f3fbe0a into tarfin-labs:master Mar 7, 2024
6 checks passed
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.

3 participants