Slashcode Log In
slash1toslash2 and Repeat Story Bug
DROP TABLE newstories;
CREATE TABLE newstories SELECT * FROM stories;
But that does not copy the primary key, so when we replace into newstories later, it just adds the story instead of replacing it. So after running slash1toslash2, run this line:
ALTER TABLE newstories ADD PRIMARY KEY (sid);
Note that if you have duplicate stories already in newstories, run the two lines at the top again, then run the ALTER line.
Later today, this fix should be in the slash1toslash2 on CVS.