educative.io

Relation between the URL table and USER table

Totally new to the NoSql DB.

I guess the relation between the 2 tables is based on the UserId column?
For the UserID, OriginalURL combination the system will provide the hash for the original URL.
So shouldn’t it store the tinyurl created for the OriginalUrl in the same table?

Am i right?

which table are you suggesting to hold the tinyURL?