Bhavin
Bhavin
TTwenty
Created by Bhavin on 9/10/2024 in #❓︱help
How to backup existing DB data to latest twenty version ?
No description
9 replies
TTwenty
Created by Bhavin on 9/10/2024 in #❓︱help
How to backup existing DB data to latest twenty version ?
I have dump of pervious version with data and now i have moved to latest version of twenty but when i am using npx nx run twenty-server:command workspace:sync-metadata -f command for sync of fields and entities to my existing db , i am getting error like ... this column activitationStatus does not exist. This might work if i use database reset command but i dont want to reset that. Is there any way i can sync with data loss ?
9 replies
TTwenty
Created by Bhavin on 8/13/2024 in #❓︱help
Schema Update to generate custom query/mutation
Thanks @charles . I got it working
9 replies
TTwenty
Created by Bhavin on 8/13/2024 in #❓︱help
Schema Update to generate custom query/mutation
Yes, we would like to add new entity. So if we try to add any new field or new table then it should get synced with database / schema .
9 replies
TTwenty
Created by Bhavin on 8/13/2024 in #❓︱help
Schema Update to generate custom query/mutation
Hello @charles , Let me explain it to you so I have created custom fields and new entities in workspace schema successfully but every time to reflect this change i have to reset database using this command : yarn nx database:reset twenty-server . I think this is not reliable for us as of now because it basically empties our database when we perform this. We just want to run migrations or reflect this changes without using above command.
9 replies