Default values in table field
I have a table with a v.object field. In the future this object might get more values set in it. Is there a way to updated the existing data in the database with default values?
3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
@CleoPatra The migration component should help with this: https://www.convex.dev/components/migrations
Migrations
Framework for long running data migrations of live data.
Awesome I’ll check it out!!