Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

♻️ Add constraints & simple schema fixes #388

Merged
merged 1 commit into from
May 29, 2024
Merged

♻️ Add constraints & simple schema fixes #388

merged 1 commit into from
May 29, 2024

Conversation

falexwolf
Copy link
Member

@falexwolf falexwolf commented May 29, 2024

  • Add unique constraints for feature and value in FeatureValue and ParamValue
  • Add unique constraint for hash on FeatureSet
  • Add a unique constraint for name for Feature?
  • Fix:
    User, PROTECT, default=current_user_id, related_name="created_transforms"

% lamin migrate create
Migrations for 'lnschema_core':
  lnschema_core/migrations/0053_alter_featureset_hash_alter_paramvalue_created_by_and_more.py
    - Alter field hash on featureset
    - Alter field created_by on paramvalue
    - Alter field created_by on run
    - Alter field created_by on transform
    - Alter unique_together for featurevalue (1 constraint(s))
    - Alter unique_together for paramvalue (1 constraint(s))

@falexwolf falexwolf merged commit d6082a7 into main May 29, 2024
1 check failed
@falexwolf falexwolf deleted the constraints branch May 29, 2024 09:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant