remove foreign key reference to deleted table
This commit is contained in:
parent
708ef272b1
commit
e3288708a6
|
@ -45,8 +45,7 @@ CREATE TABLE IF NOT EXISTS main."halloffame" (
|
|||
"category" TEXT,
|
||||
"needed_note" text,
|
||||
PRIMARY KEY("player","year","votedBy")
|
||||
foreign key("player") references "people"("ID"),
|
||||
foreign key("year","votedBy") references "halloffamereqs"("year","votedBy")
|
||||
foreign key("player") references "people"("ID")
|
||||
);
|
||||
|
||||
insert into main.halloffame select distinct * from temp.halloffame;
|
||||
|
|
Loading…
Reference in New Issue