14 lines
305 B
PL/PgSQL
14 lines
305 B
PL/PgSQL
begin;
|
|
update halloffame
|
|
set ballots = null
|
|
where ballots = '' or ballots = 'NA';
|
|
|
|
update halloffame
|
|
set needed = null
|
|
where needed = '' or needed = 'NA';
|
|
|
|
alter table halloffame drop column "ballots";
|
|
alter table halloffame drop column "needed";
|
|
alter table halloffame drop column "needed_note";
|
|
commit;
|