DavidIQ wrote:Unknown Bliss wrote:DavidIQ wrote:You mean the name of the extension? How are you going to ensure it's unique? Maybe an additional identifier should be used like the permalink.
Yes, the clean name of the extension that is in the directory and manifest (Human Name is also in the Manifest).
The unique constraint and the primary key would make it so it has to be unique too.
Permalink to what? Why would it need a permalink as the link is always the extension directory followed by the extension name...
I'm talking about where the extension repo will be at. You need to think about the correlation between what's installed and what is available for installation in the repo, wherever it may be.
I did briefly think about that, but how likely is it you will have two MODs with the same name that you would want to have installed at the same time?
And names have to be unique as the name is the directory, there isn't really any way around that.
callumacrae wrote:Hash!
That would be pointless. It doesn't need to be private, it isn't fail-safe and all the SQL DBs the phpBB supports have the UNIQUE Constraint and Primary Keys.





