[RFC|Merged] Extensions
Re: [RFC|Merged] Extensions
You should change those names. Besides that, I agree with your proposal
Re: [RFC|Merged] Extensions
Explain what you mean by keeping track of how many times an extension has been enabled. We have both migrations and the state column to keep track of state transitions.
Re: [RFC|Merged] Extensions
In migrations, will it keep track of whether it has been installed previously and then purging would remove it?igorw wrote:Explain what you mean by keeping track of how many times an extension has been enabled. We have both migrations and the state column to keep track of state transitions.
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
Re: [RFC|Merged] Extensions
Nils should correct me if I'm wrong, but I believe this to be the case.
Re: [RFC|Merged] Extensions
After talking on IRC with naderman and igor:
There isn't an ext_id as it wouldn't really provide any benefits and name is required to be in the DB and unique anyway.
However, the name should be primary key so it is clear from looking at the schema which column is used for lookups.
So seeing as there isn't a problem with having strings as a primary key, it should be the primary key.
There isn't an ext_id as it wouldn't really provide any benefits and name is required to be in the DB and unique anyway.
However, the name should be primary key so it is clear from looking at the schema which column is used for lookups.
So seeing as there isn't a problem with having strings as a primary key, it should be the primary key.
Last edited by MichaelC on Mon Feb 13, 2012 12:50 am, edited 1 time in total.
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: [RFC|Merged] Extensions
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.
Re: [RFC|Merged] Extensions
Yes, the clean name of the extension that is in the directory and manifest (Human Name is also in the Manifest).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.
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...
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: [RFC|Merged] Extensions
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.Unknown Bliss wrote:Yes, the clean name of the extension that is in the directory and manifest (Human Name is also in the Manifest).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.
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...
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC|Merged] Extensions
Hash!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.
Re: [RFC|Merged] Extensions
DB UNIQUE constraint.callumacrae wrote:Hash!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.