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
I am using schemahero 0.17.2 and PostgreSql and I see issues when using single column indexes that are not unique.
For example, this works and creates two indexes.
indexes: - columns: - elem_id - feature_id name: idx_elem_feature isUnique: true - columns: - feature_id name: idx_feature_id isUnique: true
While this one does not, and the second index is not generated:
indexes: - columns: - elem_id - feature_id name: idx_elem_feature isUnique: true - columns: - feature_id name: idx_feature_id isUnique: false
The text was updated successfully, but these errors were encountered:
We are also experiencing this. Looks like the decision making regarding indexes happens here, but couldn't find any mention of isUnique though...
schemahero/pkg/database/postgres/deploy.go
Line 286 in 87ad5be
Sorry, something went wrong.
Or is this if index.IsUnique causing the issue?
if index.IsUnique
schemahero/pkg/database/postgres/create.go
Line 66 in 87ad5be
Possible fix #1071
No branches or pull requests
I am using schemahero 0.17.2 and PostgreSql and I see issues when using single column indexes that are not unique.
For example, this works and creates two indexes.
While this one does not, and the second index is not generated:
The text was updated successfully, but these errors were encountered: