-- Deploy gaia:maidan_2017_02_28_alter_maidansnapshot_business_partner to mysql

BEGIN;

ALTER TABLE `maidan_ordersnapshot` ADD COLUMN `business_partner_id` integer;
ALTER TABLE `maidan_ordersnapshot` ADD CONSTRAINT `business_partner_id_refs_id_561ec9fe` FOREIGN KEY (`business_partner_id`) REFERENCES `auth_user` (`id`);
ALTER TABLE `maidan_order` ADD COLUMN `settle_price_cent` integer DEFAULT 0;

COMMIT;
