ALTER TABLE  `products` ADD amazon_fulfillmentlatency INT(1) NOT NULL;
ALTER TABLE  `distributors` ADD  `payment_terms` VARCHAR( 64 ) NOT NULL ;
ALTER TABLE  `distributor_orders` ADD  `payment_terms` VARCHAR( 64 ) NOT NULL ;
ALTER TABLE  `distributor_invoices` ADD  `payment_terms` VARCHAR( 64 ) NOT NULL ;
ALTER TABLE admin_access ADD coupon_orders INT(1) NOT NULL;
UPDATE admin_access SET coupon_orders=1 WHERE customers_id='1';
ALTER TABLE  `amazon_feeds` ADD  `merchant_id` VARCHAR( 32 ) NOT NULL , ADD INDEX (  `merchant_id` ) ;
ALTER TABLE  `amazon_orders` ADD  `merchant_id` VARCHAR( 32 ) NOT NULL , ADD INDEX (  `merchant_id` ) ;
ALTER TABLE  `amazon_products` ADD  `merchant_id` VARCHAR( 32 ) NOT NULL , ADD INDEX (  `merchant_id` ) ;
ALTER TABLE  `amazon_settlements` ADD  `merchant_id` VARCHAR( 32 ) NOT NULL , ADD INDEX (  `merchant_id` ) ;



