Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.56k stars 345 forks source link

feat: Add timestamps to segments models #4236

Closed zachaysan closed 4 days ago

zachaysan commented 1 week ago

Thanks for submitting a PR! Please check the boxes below:

Changes

Adds timestamps to segments module models. Includes code to nullify the timestamps for existing records.

How did you test this code?

Checked the database changes when running locally and verified that they're properly set.

vercel[bot] commented 1 week ago

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

3 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **docs** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/docs/ENhKSDnU4QA1YreVqh4uVBZPn2aT)) | [Visit Preview](https://docs-git-feat-addtimestampstosegmentsmodels-flagsmith.vercel.app) | | Jun 27, 2024 3:38pm | | **flagsmith-frontend-preview** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/flagsmith-frontend-preview/BVMW5MvimTkUZM1wYE4C4xUkmdvF)) | [Visit Preview](https://flagsmith-frontend-preview-git-feat-addtimesta-9a92e9-flagsmith.vercel.app) | | Jun 27, 2024 3:38pm | | **flagsmith-frontend-staging** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/flagsmith-frontend-staging/Hk5yDEvPkQPiFYPxRAiSr9BPDxeU)) | [Visit Preview](https://flagsmith-frontend-staging-git-feat-addtimesta-399507-flagsmith.vercel.app) | | Jun 27, 2024 3:38pm |
github-actions[bot] commented 1 week ago

Uffizzi Preview deployment-53494 was deleted.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.60%. Comparing base (bc9b340) to head (d3b6abb).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4236 +/- ## ======================================= Coverage 96.60% 96.60% ======================================= Files 1194 1195 +1 Lines 39071 39094 +23 ======================================= + Hits 37745 37768 +23 Misses 1326 1326 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.