Using bubble’s built-in feature of ensuring slugs are unique seems like the easiest way to create a unique and sequential number for database records.
Why is it not the recommended approach among the community? Is it just because of the elevated cost?
It seems the recommended approach is using database triggers and the operator :make static, which is not that complex, but slugs seems even simpler.
Thanks!
1 Like
Slug is to make the URL more user-friendly. Think about facebook, when we look for the person’s profile in the url facebook.com/person_searched appears, the entire user will have a uuid that could be the same but if facebook.com/iojdiojdioqw2819-12ei2e appears it would be at least the strangest to the user, and if if it were a sequential, it also doesn’t mean anything a facebook.com/1244 looks strange, so with the name and at most a few digits at the end to avoid having the same names it is better.