Trying to update existing schema for "other deployment"
Hey guys, I just recently joined another project that uses Convex. They have a production deployment, used for production of course, and an "other deployment" deployment that is used for testing.
I am being tasked with updating the
schema.ts
by adding two new tables; which I have added.
Now I am trying to update the existing "other deployment" deployment, however I can't seem to figure out the right flow.
I run "npx convex dev", select the team, select the existing project, and then it automatically pushes to my own SEPERATE cloud deployment.
Glad to share any other information, I just don't know what would be helpful.
How can I push these changes to my co-workers existing development deployment? Thanks!13 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!
good morning, bumping this!
Bumping again! I can share more information if its needed
That existing deployment. Are you added as a member on that?
Do deployments have the ability to add members to them? I can't find anything in their settings.
However in the project settings I can see who the admins are
Yes you can right from 'Team Settings' from your Team page.

When selecting team and existing project you need to make sure you choose th existing project.
Gotcha, so yes I am a member of that team, that team manages the project, of which the deployment belongs to
From CLI when you do npx convex dev.
Ahhhh I see, I'm a Developer, but I'm not particularly added to any projects

Also something to consider. When you'll do that make sure all existing functions exist in convex folder otherwise it'll be overwritten to what code you have.
there we go!
very important note thank you
and thank you! I'll ask for permissions and i'm sure that will fix it
@Hmza I was added the admin role, and I ran npx convex dev and it defaults to my cloud deployment and never provides me an option to use the other deployment
can you try logging in again? also please make sure to remove any enviorment variables related to convex from your root directy in file .env.local or .env
when convex will not find a project attached it'll ask you to select team and projects again. then you can select the correct one.
Hi @Jacob Homanics did you beable to solve this? I'm encountering the same situation, too.
My friend and I are joining the same project. However, when we clone the code on our personal laptops and start the
convex dev
, it starts two separated deployments
DBs
When I try to change the .env.local
's URL to my friend's one -> start the convex dev
, it auto override the URLs
So I assume we can't join the same (dev) deployment from multiple PC right?
Also, I think we aren't be able yet to delete the dev cloud deployments. I'm a bit nervous for Convex team to see multiple dev DBs live there (forever) without beable to delete them, haha 😂