begin;
CREATE TABLE IF NOT EXISTS "pk_awardsshareplayers" (
	"awardID"	TEXT,
	"yearID"	NUMERIC,
	"lgID"	TEXT,
	"playerID"	TEXT,
	"pointsWon"	NUMERIC,
	"pointsMax"	NUMERIC,
	"votesFirst"	NUMERIC,
	PRIMARY KEY("awardID","yearID","playerID","lgID")
);

INSERT INTO "pk_awardsshareplayers" SELECT DISTINCT * FROM "awardsshareplayers";
DROP TABLE "awardsshareplayers";
ALTER TABLE "pk_awardsshareplayers" RENAME TO "awardsshareplayers";
commit;
