BEGIN;
CREATE TABLE IF NOT EXISTS "pk_awardsmanagers" (
	"playerID"	TEXT,
	"awardID"	TEXT,
	"yearID"	NUMERIC,
	"lgID"	TEXT,
	"tie"	TEXT,
	"notes"	TEXT,
	PRIMARY KEY("awardID","yearID","lgID","playerID")
);

INSERT INTO "pk_awardsmanagers" SELECT DISTINCT * FROM "awardsmanagers";
DROP TABLE "awardsmanagers";
ALTER TABLE "pk_awardsmanagers" RENAME TO "awardsmanagers";
COMMIT;
