mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 14:03:35 +03:00
fa241fa4e9
This PR was created by [GitStart](https://gitstart.com/) to address the requirements from this ticket: [TWNTY-6260](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-6260). This ticket was imported from: [TWNTY-6260](https://github.com/twentyhq/twenty/issues/6260) --- ### Description This is the second PR on TWNTY-6260 which handles data migration of Phone field to Phones field.\ \ How to Test?\ Follow the below steps: - On the main branch, - go to `packages/twenty-server/src/database/typeorm-seeds/workspace/people.ts` and change any person's phone number to a string with characters for example: "test invalid phone", and then reset the DB. - reset database using `npx nx database:reset twenty-server` - This is to make sure that invalid numbers will be handled properly. We should use the invalid value itself to avoid removing data and see how the behavior is on the front end. should be the same as in the main, the display shows the invalid value, but the input is empty when you click, and then you can update. - Checkout to `TWNTY-6260-phone-migration` branch - Rebuild typescript using `npx nx build twenty-server` - Run command `yarn command:prod upgrade-0.32` to do migration - Run both backend and frontend to see the migrated field ### Demo - **Loom Video:**\ <https://www.loom.com/share/4b9bcb423cee447d8ad09852a83b27da?sid=ed74ecaa-0339-4575-acdc-a863e95e94fd> ### Refs #6260 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: Marie Stoppa <marie.stoppa@essec.edu> Co-authored-by: Weiko <corentin@twenty.com> |
||
---|---|---|
.. | ||
utils | ||
activities.integration-spec.ts | ||
activity-targets.integration-spec.ts | ||
api-keys.integration-spec.ts | ||
attachments.integration-spec.ts | ||
audit-logs.integration-spec.ts | ||
auth.integration-spec.ts | ||
blocklists.integration-spec.ts | ||
calendar-channel-event-associations.integration-spec.ts | ||
calendar-channels.integration-spec.ts | ||
calendar-event-participants.integration-spec.ts | ||
comments.integration-spec.ts | ||
companies.integration-spec.ts | ||
company.integration-spec.ts | ||
connected-accounts.integration-spec.ts | ||
favorites.integration-spec.ts | ||
message-channel-message-associations.integration-spec.ts | ||
message-channels.integration-spec.ts | ||
message-participants.integration-spec.ts | ||
message-threads.integration-spec.ts | ||
note-targets.integration-spec.ts | ||
notes.integration-spec.ts | ||
objects.integration-spec.ts | ||
opportunities.integration-spec.ts | ||
people.integration-spec.ts | ||
serverless-functions.integration-spec.ts | ||
task-targets.integration-spec.ts | ||
tasks.integration-spec.ts | ||
timeline-activities.integration-spec.ts | ||
view-fields.integration-spec.ts | ||
view-filters.integration-spec.ts | ||
view-sorts.integration-spec.ts | ||
views.integration-spec.ts | ||
webhooks.integration-spec.ts | ||
workspace-members.integration-spec.ts |