Recover production models

Hi guys! I have 2 models in production that were outdated so I deleted them on my dev enviroment and created new ones with proper naming and schema. After deleting them I realized that by doing this instead of just renaming them it will make all the users re-add their old data (not ideal). If I set the exact same name on the new models, will they replace the old ones on production? can you help me recover my old models? Thank you!
3 Replies
airhorns
airhorns3mo ago
@renapiermarini the data in the underlying database is stored under the storageKey stored in the schema.gadget.ts file. do you have a source control set up such that you know the old storage keys? if so, you can re-use them and your data should come back! if not, we can go fish it out for you if you like
Rena
RenaOP3mo ago
Hmm I don't, could you please get them for me? The models are shopAssistant and botpressAssistant in streamline-connector-for-voiceflow production
airhorns
airhorns3mo ago
DMing you

Did you find this page helpful?