Menu

#2400 fix: data migration and cleanup for userId attribute

open
nobody
2024-04-10
2024-04-05
Anonymous
No

Originally created by: pandeymangg
Originally owned by: pandeymangg

What does this PR do?

Removes the old userId attribute code, and has a data migration which transforms the userId attributes to the userId column in the Person table

Fixes # (issue)

How should this be tested?

  • Test A
  • Test B

Checklist

Required

  • [ ] Filled out the "How to test" section in this PR
  • [ ] Read How we Code at Formbricks
  • [ ] Self-reviewed my own code
  • [ ] Commented on my code in hard-to-understand bits
  • [ ] Ran pnpm build
  • [ ] Checked for warnings, there are none
  • [ ] Removed all console.logs
  • [ ] Merged the latest changes from main onto my branch with git pull origin main
  • [ ] My changes don't cause any responsiveness issues

Appreciated

  • [ ] If a UI change was made: Added a screen recording or screenshots to this PR
  • [ ] Updated the Formbricks Docs if changes were necessary

Discussion

  • Anonymous

    Anonymous - 2024-04-05

    Originally posted by: vercel[bot]

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

    2 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **formbricks-cloud** | ⬜️ Ignored ([Inspect](https://vercel.com/formbricks/formbricks-cloud/4K2Q3YUMTAAVohkYNKjnYx4RWoCB)) | [Visit Preview](https://formbricks-cloud-git-fix-userid-migration-formbricks.vercel.app) | | Apr 10, 2024 1:10pm | | **formbricks-com** | ⬜️ Ignored ([Inspect](https://vercel.com/formbricks/formbricks-com/BkjYF8ujEbnuYrqk8kRrb79DCsfn)) | [Visit Preview](https://formbricks-com-git-fix-userid-migration-formbricks.vercel.app) | | Apr 10, 2024 1:10pm |
     
  • Anonymous

    Anonymous - 2024-04-05

    Originally posted by: github-actions[bot]

    Thank you for following the naming conventions for pull request titles! 🙏

     
  • Anonymous

    Anonymous - 2024-04-09
     

Log in to post a comment.

MongoDB Logo MongoDB