exec sp_addextendedproperty 'MS_Description', N'天猫换货明细', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund' go
exec sp_addextendedproperty 'MS_Description', N'换货单号id', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'dispute_id' go
exec sp_addextendedproperty 'MS_Description', N'卖家昵称', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','seller_nick' go
exec sp_addextendedproperty 'MS_Description', N'买家昵称', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','buyer_nick' go
exec sp_addextendedproperty 'MS_Description', N'当前换货状态，具体包括：换货待处理(1), 待买家退货(2), 买家已退货，待收货(3), 换货关闭(4), 换货成功(5), 待买家修改(6), 待发出换货商品(12), 待买家收货(13), 请退款(14)换货状态，具体包括：换货待处理(1), 待买家退货(2), 买家已退货，待收货(3), 换货关闭(4), 换货成功(5), 待买家修改(6), 待发出换货商品(12), 待买家收货(13), 请退款(14)','SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN', 'status' go
exec sp_addextendedproperty 'MS_Description', N'换货创建时间', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'created' go
exec sp_addextendedproperty 'MS_Description', N'换货修改时间', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'modified' go
exec sp_addextendedproperty 'MS_Description', N'卖家收货地址', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'address' go
exec sp_addextendedproperty 'MS_Description', N'正向交易主订单号', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'alipay_no' go
exec sp_addextendedproperty 'MS_Description', N'正向交易子订单号id', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'biz_order_id' go
exec sp_addextendedproperty 'MS_Description', N'所购买的商品sku', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'bought_sku' go
exec sp_addextendedproperty 'MS_Description', N'买家收货地址', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'buyer_address' go
exec sp_addextendedproperty 'MS_Description', N'买家发货物流公司名', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'buyer_logistic_name' go
exec sp_addextendedproperty 'MS_Description', N'买家发货物流单号', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'buyer_logistic_no' go
exec sp_addextendedproperty 'MS_Description', N'buyerName（密文）', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'buyer_name' go
exec sp_addextendedproperty 'MS_Description', N'买家联系方式（密文）', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'buyer_phone' go
exec sp_addextendedproperty 'MS_Description', N'小二托管状态', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'cs_status' go
exec sp_addextendedproperty 'MS_Description', N'换货商品的sku', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'exchange_sku' go
exec sp_addextendedproperty 'MS_Description', N'商品状态', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','good_status' go
exec sp_addextendedproperty 'MS_Description', N'换货数量', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','num' go
exec sp_addextendedproperty 'MS_Description', N'收件人ID (Open Addressee ID)，长度在128个字符之内。', 'SCHEMA', 'dbo','TABLE', 'distributor_exchange_refund', 'COLUMN', 'oaid' go
exec sp_addextendedproperty 'MS_Description', N'操作场景', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','operation_contraint' go
exec sp_addextendedproperty 'MS_Description', N'换货申请理由', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'reason' go
exec sp_addextendedproperty 'MS_Description', N'申请换货的状态：售中换货 or 售后换货', 'SCHEMA', 'dbo', 'TABLE','distributor_exchange_refund', 'COLUMN', 'refund_phase' go
exec sp_addextendedproperty 'MS_Description', N'换货版本', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','refund_version' go
exec sp_addextendedproperty 'MS_Description', N'卖家发货物流公司名称', 'SCHEMA', 'dbo', 'TABLE','distributor_exchange_refund', 'COLUMN', 'seller_logistic_name' go
exec sp_addextendedproperty 'MS_Description', N'卖家发货快递单号', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund','COLUMN', 'seller_logistic_no' go
exec sp_addextendedproperty 'MS_Description', N'超时时间', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','time_out' go
exec sp_addextendedproperty 'MS_Description', N'商品名称', 'SCHEMA', 'dbo', 'TABLE', 'distributor_exchange_refund', 'COLUMN','title' go
转成postgresql