#How do I navigate to a foreign key's document?
6 messages · Page 1 of 1 (latest)
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](https://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!
@latent grove it looks like this isn't a Convex ID format, so it's not being identified as such. This could be a feature request, something like "if a value exists in any indexes, then allow jumping to it" but it'd be an investment. Or maybe a way to specify user-level IDs. But it'd be involved.
Ah, userId is a string type.
Is it possible to change userId data type from string to v.id("users")?
To change a column name, I know that a migration is necessary to create a new column and then migrate the data to that new column.
But I'm hoping a data type change might be straightforward.
This still wouldn't be a Convex ID, those have a specific format and are generated by Convex
Ohh, I misread my own data. Looks like userId is actually the the "subject" value from Clerk/User Identity API. THanks Tom