You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.6 KiB

7 years ago
ALTER TABLE `pmt_refunds`
MODIFY COLUMN `refund_id` varchar(50) NOT NULL COMMENT '退款编号' FIRST ;
ALTER TABLE `pmt_refund_applies`
MODIFY COLUMN `id` varchar(50) NOT NULL FIRST ,
MODIFY COLUMN `refund_id` varchar(50) NOT NULL COMMENT 'refund order id' AFTER `order_id`;
ALTER TABLE `pmt_transactions`
MODIFY COLUMN `transaction_id` varchar(50) NOT NULL COMMENT '交易流水编号' FIRST ,
MODIFY COLUMN `refund_id` varchar(50) NULL DEFAULT NULL COMMENT '退款单号' AFTER `order_id`;
ALTER TABLE `log_wechat_template_msg`
MODIFY COLUMN `send_id` varchar(50) NOT NULL FIRST ,
MODIFY COLUMN `account_id` varchar(50) NOT NULL AFTER `client_id`;
ALTER TABLE `log_wechat_error`
MODIFY COLUMN `id` varchar(50) NOT NULL FIRST ;
ALTER TABLE `log_notify_error`
MODIFY COLUMN `id` varchar(50) NOT NULL FIRST ;
ALTER TABLE `log_manager_login`
MODIFY COLUMN `id` varchar(50) NOT NULL FIRST ;
ALTER TABLE `log_client_login`
MODIFY COLUMN `id` varchar(50) NOT NULL FIRST ,
MODIFY COLUMN `account_id` varchar(50) NOT NULL AFTER `client_id`;
ALTER TABLE `log_client_review`
MODIFY COLUMN `review_id` varchar(50) NOT NULL FIRST ;
ALTER TABLE `log_app_msg`
MODIFY COLUMN `send_id` varchar(50) NOT NULL FIRST ;
ALTER TABLE `sys_accounts`
MODIFY COLUMN `account_id` varchar(50) NOT NULL COMMENT '登录账户编号' FIRST ;
ALTER TABLE `sys_clients_devices`
MODIFY COLUMN `account_id` varchar(50) NULL DEFAULT NULL COMMENT '目前登录的账号' AFTER `version`;
ALTER TABLE `financial_bd_config`
MODIFY COLUMN `manager_id` varchar(50) NOT NULL FIRST ;
ALTER TABLE `sys_client_bd`
MODIFY COLUMN `bd_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL AFTER `client_id`;
ALTER TABLE `sys_managers`
MODIFY COLUMN `manager_id` varchar(50) NOT NULL COMMENT '管理员账户编号' FIRST ;
ALTER TABLE `sys_client_rates`
MODIFY COLUMN `manager_id` varchar(50) DEFAULT NULL FIRST ;
7 years ago
ALTER TABLE `log_manager_login`
MODIFY COLUMN `manager_id` varchar(50) NOT NULL AFTER `id`;
ALTER TABLE `financial_bd_commission_config`
MODIFY COLUMN `bd_id` varchar(50) NOT NULL DEFAULT 0 COMMENT 'bd id' AFTER `bd_name`;
ALTER TABLE `financial_bd_config`
MODIFY COLUMN `bd_group` varchar(50) NULL DEFAULT NULL COMMENT 'BD Leader manger_id' AFTER `get_prize`;
ALTER TABLE `financial_bd_prize_detail`
MODIFY COLUMN `manager_id` varchar(50) NOT NULL AFTER `client_id`;
ALTER TABLE `bd_access_log`
MODIFY COLUMN `bd_id` varchar(50) NOT NULL AFTER `date`;
ALTER TABLE `sys_clients`
MODIFY COLUMN `creator` varchar(50) NOT NULL COMMENT '创建者' AFTER `logo_thumbnail`,
7 years ago
MODIFY COLUMN `approver` varchar(50) DEFAULT NULL AFTER `logo_thumbnail`;
7 years ago
ALTER TABLE `pat_goods`
MODIFY COLUMN `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL AFTER `is_using`;
ALTER TABLE `sys_notice`
MODIFY COLUMN `create_id` varchar(50) NOT NULL AFTER `status`,
MODIFY COLUMN `send_id` varchar(50) NULL DEFAULT NULL AFTER `create_name`;
ALTER TABLE `sys_notice_client`
MODIFY COLUMN `read_id` varchar(50) NULL DEFAULT NULL AFTER `read_time`;
ALTER TABLE `act_sign_events_sign_log`
MODIFY COLUMN `sign_user_id` varchar(50) NULL DEFAULT NULL AFTER `sign_time`;
ALTER TABLE `act_red_packets_wechat`
MODIFY COLUMN `relation_id` varchar(50) NOT NULL FIRST ,
MODIFY COLUMN `update_id` varchar(50) NULL DEFAULT NULL AFTER `create_time`;
ALTER TABLE `pat_goods`
MODIFY COLUMN `id` varchar(50) NOT NULL FIRST;
ALTER TABLE `pat_goods_sale`
MODIFY COLUMN `good_id` varchar(50) NOT NULL AFTER `client_id`;