sql语法错误修复

This commit is contained in:
丁瑞超 2020-10-13 09:16:13 +08:00
parent d328ac666a
commit c1f18897fb
1 changed files with 4 additions and 4 deletions

View File

@ -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 '详情内容',