validate creating a new link #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
the code creates a new link, but the db has unique constraints. if an existing url is submitted, load it instead. if an existing code is generate, regenerate until a unique one is created.
this has been done a while ago as well. checks if the url exists already, if it does, it returns that instead of generating a new one.