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

Fix two more uniqueness constraints in SQLAlchemy data model #56

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

amotl
Copy link
Member

@amotl amotl commented Nov 6, 2023

About

GH-46 and GH-52 reported and fixed missing uniqueness constraints on the SQLAlchemy data model. This patch adds two more, based on recent improvements from crate/cratedb-toolkit#70.

  • SqlExperimentPermission: "experiment_id", "user_id"
  • SqlRegisteredModelPermission: "name", "user_id"

/cc @hlcianfagna

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
mlflow_cratedb/patch/mlflow/model.py 100.00% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

@amotl amotl marked this pull request as ready for review November 6, 2023 07:38
- SqlExperimentPermission: "experiment_id", "user_id"
- SqlRegisteredModelPermission: "name", "user_id"
@amotl amotl force-pushed the amo/fix-uniqueness-composite branch from 07237aa to c2334a1 Compare November 6, 2023 07:59
@amotl amotl merged commit f1ec5b7 into main Nov 6, 2023
1 check failed
@amotl amotl deleted the amo/fix-uniqueness-composite branch November 6, 2023 08:11
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

Successfully merging this pull request may close these issues.

2 participants