We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My entity setup has this code:
entityBuilder.Property<NpgsqlTsVector>(AllTextColumnsFullTextComputedColumnName) .IsGeneratedTsVectorColumn(FullTextDictionaryName, FieldsIncludedInFullTextColumn);
where FieldsIncludedInFullTextColumn is a string[].
FieldsIncludedInFullTextColumn
Now I added a new string property to the entity and added the name as the last entry to FieldsIncludedInFullTextColumn.
Now the migration created by add-migration powershell script does this in Up method:
add-migration
migrationBuilder.AlterColumn<NpgsqlTsVector>(... // referencing column name of step2
migrationBuilder.AddColumn<string>(...
And so the resulting SQL is also in wrong order:
Same problem with Down method, just in inverse order.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My entity setup has this code:
entityBuilder.Property<NpgsqlTsVector>(AllTextColumnsFullTextComputedColumnName) .IsGeneratedTsVectorColumn(FullTextDictionaryName, FieldsIncludedInFullTextColumn);
where
FieldsIncludedInFullTextColumn
is a string[].Now I added a new string property to the entity and added the name as the last entry to
FieldsIncludedInFullTextColumn
.Now the migration created by
add-migration
powershell script does this in Up method:migrationBuilder.AlterColumn<NpgsqlTsVector>(... // referencing column name of step2
migrationBuilder.AddColumn<string>(...
And so the resulting SQL is also in wrong order:
Same problem with Down method, just in inverse order.
The text was updated successfully, but these errors were encountered: