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

EntityTypeBuilder.HasCluster(string indexName) #3181

Closed
bradAnders opened this issue May 22, 2024 · 1 comment
Closed

EntityTypeBuilder.HasCluster(string indexName) #3181

bradAnders opened this issue May 22, 2024 · 1 comment

Comments

@bradAnders
Copy link

bradAnders commented May 22, 2024

Hi,

Is there a fluent API to generate a migration that performs a cluster on an index?

@roji roji closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
@roji roji reopened this May 22, 2024
@roji
Copy link
Member

roji commented May 22, 2024

No. In PostgreSQL, clustering is a point-in-time operation (as opposed to SQL Server, where it's an index setting); therefore, having model configuration for this doesn't make sense. But you can easily integrate this directly into a migration via SQL.

@roji roji closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
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

No branches or pull requests

2 participants