-- Deploy gaia:api_2016_02_15_alter_table_api_order_add_points_deduction_real_payment_coupon_deduction to mysql

BEGIN;

-- XXX Add DDLs here.
ALTER TABLE `api_order`
ADD COLUMN `points_deduction` FLOAT NOT NULL DEFAULT 0,
ADD COLUMN `real_payment` FLOAT NOT NULL DEFAULT 0,
ADD COLUMN `coupon_deduction` FLOAT NOT NULL DEFAULT 0;


COMMIT;
