twenty/.vscode
Jérémy M 5b26452649
feat: refactor workspace sync fields (#6069)
This PR was first here to fix the issue related to ticket #5004, after
some testing it seems that changing the name of a relation is actually
properly working, if we rename `ONE-TO-MANY` side, the only things that
is going to be updated is the FieldMetadata as the `joinColumn` is
stored on the opposite object.
For `MANY-TO-ONE` relations, the `joinColumn` migration is properly
generated. We need to take care that if we rename a side of a relation,
sometimes the opposite side doesn't have `inverseSideFieldKey`
implemented and used by default the name of the opposite object, so this
is going to throw an error as the field can't be found in the object.

---------

Co-authored-by: Marie <51697796+ijreilly@users.noreply.github.com>
2024-07-02 17:21:13 +02:00
..
extensions.json POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
launch.json Fix sync metadata script (#5253) 2024-05-02 15:50:40 +02:00
settings.json Fix duplicate imports by VSCode (#4959) 2024-04-14 08:48:03 +02:00
tasks.json Disable linter on generated code (#363) 2023-06-23 08:43:41 -07:00
twenty.code-workspace feat: refactor workspace sync fields (#6069) 2024-07-02 17:21:13 +02:00