alter table purchase_orders add closed tinyint(3) unsigned not null default 0 after total;
alter table purchase_orders add closed_date date null after closed;