From c1f18897fb890b3d966a8338bf7a27102cc5cd6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=81=E7=91=9E=E8=B6=85?= <281809423@qq.com> Date: Tue, 13 Oct 2020 09:16:13 +0800 Subject: [PATCH] =?UTF-8?q?sql=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/business_20201010.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/business_20201010.sql b/sql/business_20201010.sql index 100725181..1ec78c149 100644 --- a/sql/business_20201010.sql +++ b/sql/business_20201010.sql @@ -4,8 +4,8 @@ drop table if exists service_organization; create table service_organization ( id int(4) not null auto_increment comment 'ID', - name int(4) varchar(50) not null comment '企业名称', - contacts int(4) varchar(50) not null comment '联系人', + name varchar(120) not null comment '企业名称', + contacts varchar(50) not null comment '联系人', phone varchar(12) not null comment '联系电话', license_url varchar(500) not null comment '营业执照图片地址(多个地址用,分隔)', title varchar(50) not null comment '标题', @@ -30,8 +30,8 @@ create table service_organization ( drop table if exists contract; create table contract ( id int(4) not null auto_increment comment 'ID', - kind int(4) not null auto_increment comment '合同分类(来至于字典表)', - template int(4) not null auto_increment comment '合同模板(来至于字典表)', + kind varchar(100) not null comment '合同分类(来至于字典表)', + template varchar(100) not null comment '合同模板(来至于字典表)', title varchar(50) not null comment '标题', introduction text not null comment '简介', content text not null comment '详情内容',