Get rid of awardsmanagersties
This commit is contained in:
parent
9b628f778f
commit
8b8c6a000b
|
@ -0,0 +1,3 @@
|
||||||
|
begin;
|
||||||
|
alter table awardsmanagers drop column "tie";
|
||||||
|
commit;
|
|
@ -1,15 +0,0 @@
|
||||||
begin;
|
|
||||||
create table if not exists awardsmanagersties (
|
|
||||||
"awardID" text,
|
|
||||||
"yearID" text,
|
|
||||||
"lgID" text,
|
|
||||||
"tie" text,
|
|
||||||
primary key("awardID","yearID","lgID")
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into awardsmanagersties
|
|
||||||
select distinct awardID, yearID, lgID, tie
|
|
||||||
from awardsmanagers;
|
|
||||||
|
|
||||||
alter table awardsmanagers drop column "tie";
|
|
||||||
commit;
|
|
Loading…
Reference in New Issue