You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works fine. However, every time I run make:migration (even with no new changes) a new migration file is created with the details of the generated columns. E.g. something like this:
I guess this is because the migration diff cannot see details of the generated column?
Is there any way to
a) see/debug what the migration is comparing to what (to see if I just need to tweak the text in the columnDefinition)
b) to mark the generated column as "ignore during migration" so make:migration does not consider it when creating migrations
?
The text was updated successfully, but these errors were encountered:
Update: I tried to do some debugging in Doctrine\DBAL\Schema\Comparator but it seems there's no data about the generated field pulled from the database.
In the short term, is there a way to mark this column as excluded from consideration when calculating the migration diff?
I have a generated column in my entity
This works fine. However, every time I run
make:migration
(even with no new changes) a new migration file is created with the details of the generated columns. E.g. something like this:I guess this is because the migration diff cannot see details of the generated column?
Is there any way to
a) see/debug what the migration is comparing to what (to see if I just need to tweak the text in the columnDefinition)
b) to mark the generated column as "ignore during migration" so
make:migration
does not consider it when creating migrations?
The text was updated successfully, but these errors were encountered: