validate creating a new link #2
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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.