Closed LiteracyFanatic closed 2 years ago
Hi @LiteracyFanatic Publishing v6.0.5 now which takes care of the code generation so that AlterColumn operations don't produce warnings any more
The AlterColumn operations shouldn't be generated at all, but I'll track that under #126
Confirming that test case builds without error now. Thanks a bunch.
Describe the bug Migrations fail to compile after #123 because of missing calls to
ignore
for some instances ofAlterColumn
. This is merely a warning most of the time, but causes an error when the last expression changes the return type ofUp
orDown
.Additional issues which don't result in a compilation error:
AlterColumn
is generated for every column (even those without changes)type
andoldType
contain escaped quotes i.e."\"int\""
(I imagine this would produce a runtime error when applying the migration but I haven't checked)Annotation
andOldAnnotation
where the annotation hasn't changedAlterColumn
should be unindented to match the start of the callTo Reproduce