tamarian
Fri 8th Jun '01, 5:08pm
Hi folks,
I've upgrading since 1.1.3 or 4, till now 2.0.1, and looking at the diff between my current schema and a clean vB schema, there a lot of differences on table indexes, I think it's because upgrade scripts can't, won't or shouldn't change them? Or might be remnant of the old hacks, some of which became standard.
Some tables have and index like this in the new vB:
UNIQUE wordid (wordid, postid)
while on mine they're:
PRIMARY KEY (wordid, postid)
And lots similar cases.
It's working fine, but would it be more uptimized to change to match the new vB2 schema?
Any danger of corruption or loss of data? I tried on my test system to drop the the keys and alter the table to have the keys match the new schema. I did a couple and nothing seemed broken, but would like to hear from someone who knows before I do any such thing on my live forum :)
I've upgrading since 1.1.3 or 4, till now 2.0.1, and looking at the diff between my current schema and a clean vB schema, there a lot of differences on table indexes, I think it's because upgrade scripts can't, won't or shouldn't change them? Or might be remnant of the old hacks, some of which became standard.
Some tables have and index like this in the new vB:
UNIQUE wordid (wordid, postid)
while on mine they're:
PRIMARY KEY (wordid, postid)
And lots similar cases.
It's working fine, but would it be more uptimized to change to match the new vB2 schema?
Any danger of corruption or loss of data? I tried on my test system to drop the the keys and alter the table to have the keys match the new schema. I did a couple and nothing seemed broken, but would like to hear from someone who knows before I do any such thing on my live forum :)