添加表tb_biz_debt
数据库:ucs
表名:tb_biz_debt
sql:
CREATE TABLE `tb_biz_debt` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`creditors_company_name` varchar(255) NOT NULL,
`creditors_company_name_digest` varchar(32) NOT NULL,
`debtor_company_name` varchar(255) NOT NULL,
`debtor_company_name_digest` varchar(32) NOT NULL,
`debt_date_from` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`debt_date_to` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`debt_money` double NOT NULL,
`debt_money_type` int(1) NOT NULL COMMENT '1,代表人民币。2,代表美元',
`performance_status` int(1) NOT NULL COMMENT '1,代表正常履约中。2,代表完成履约。3,代表产生逾期',
`no_expire_money` double DEFAULT NULL,
`no_expire_money_type` int(1) DEFAULT NULL COMMENT '1,代表人民币。2,代表美元',
`overdue_money` double DEFAULT NULL,
`overdue_money_type` int(1) DEFAULT NULL COMMENT '1,代表人民币。2,代表美元',
`debt_describe` varchar(1000) DEFAULT NULL,
`other_data_path` varchar(225) DEFAULT NULL,
`other_data_name` varchar(225) DEFAULT NULL,
`other_data_size` float DEFAULT NULL,
`status` int(1) NOT NULL DEFAULT '1' COMMENT '1,代表有效。2,代表无效',
`add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`lastupdatetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=88 DEFAULT CHARSET=utf8