pereira
Create and fetch new database entities
thanks so much @charles! I still have some questions:
1- I already created the relations between MessageThreadMembers (a new table that we created, it doesnt exist yet) and MessageThread and WorkspaceMember (two FK).
To apply the changes, I've been using
npx nx database:reset twenty-server
. Do I still need to run npx nx run twenty-server:command workspace:sync-metadata -w {workspaceId} -f
if I'm resetting the database?
2- Regarding the graphql files, I am not sure if I should be manually editing them. Searching through old discord messages, I am now aware that they seem to be auto generated. However, I am not sure of the commands to generate them, and which ones I am supposed to generate, as there are 3 different graphql files (one in twenty-chrome-extension
and two in twenty front (graphql.ts
and graphql.tsx
.
I will keep working on this the best I can, If I get really stuck (probably on the step to visibility of the thread itself), I'll open the PR like you suggested. Thanks once again :)23 replies