I am planning to do a redirect page that looks at multiple tables in my database and searches by id for all of them. If it finds it, it redirects to that item’s page.
I am doing this so I can create a link like this:
myapp.com/redirect/123456x123456
and it goes to for example:
myapp.com/project/123456x123456
So that’s why I’m asking the question: are the unique ids unique to their table or throughout the whole database of my app?
Because my plan wouldn’t work if the id’s are unique to only the table and there is a chance for them to be duplicated across the database.