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
Describe the bug When creating an identity with multiple keys, unique_indexes should have the same key order as defined by the user.
To Reproduce An identity with multiple keys not in alphabetical order:
identities do identity :unique_name_per_user, [:user_id, :name] end
Run mix ash_postgres.generate_migrations
mix ash_postgres.generate_migrations
Verify that the generated migration has they keys on the unique index in a different order
Expected behavior The generated index should have the same order ** Runtime
Additional context N/A
The text was updated successfully, but these errors were encountered:
85620a0
No branches or pull requests
Describe the bug
When creating an identity with multiple keys, unique_indexes should have the same key order as defined by the user.
To Reproduce
An identity with multiple keys not in alphabetical order:
Run
mix ash_postgres.generate_migrations
Verify that the generated migration has they keys on the unique index in a different order
Expected behavior
The generated index should have the same order
** Runtime
Additional context
N/A
The text was updated successfully, but these errors were encountered: