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

feat: add attribute to store identity overrides storage type #3109

Conversation

matthewelwell
Copy link
Contributor

Changes

Add an attribute to the Project model to store where to retrieve the identity overrides from.

This field will be modified by the migration process (tbd) which will migrate the overrides from the identity records in the flagsmith_identities table to items in the flagsmith_overrides table. It will subsequently be used by the Core API to determine where to write / read the identity override.

How did you test this code?

N/a

Copy link

vercel bot commented Dec 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2023 0:55am
flagsmith-frontend-preview 🛑 Canceled (Inspect) Dec 7, 2023 0:55am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2023 0:55am

Copy link
Contributor

github-actions bot commented Dec 7, 2023

Uffizzi Preview deployment-42352 was deleted.

@matthewelwell matthewelwell force-pushed the feat/add-attribute-to-project-for-identity-override-storage branch from 979484d to 6fdcfe6 Compare December 7, 2023 12:49
@matthewelwell matthewelwell added this pull request to the merge queue Dec 7, 2023
Merged via the queue into main with commit c31322b Dec 7, 2023
20 checks passed
@matthewelwell matthewelwell deleted the feat/add-attribute-to-project-for-identity-override-storage branch December 7, 2023 12:58
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c1c45cb) 95.92% compared to head (6fdcfe6) 95.92%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3109   +/-   ##
=======================================
  Coverage   95.92%   95.92%           
=======================================
  Files        1037     1038    +1     
  Lines       30882    30910   +28     
=======================================
+ Hits        29623    29651   +28     
  Misses       1259     1259           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants