修改mysql.sql的错误

pull/15/head
kongyuebin 5 years ago
parent a4ebda6753
commit 61941e6cbe

@ -6,8 +6,8 @@ CREATE TABLE IF NOT EXISTS `user_info`(
`user_id` varchar(40) not null comment '用户登录号', `user_id` varchar(40) not null comment '用户登录号',
`passwd` varchar(40) not null comment '用户登录密码', `passwd` varchar(40) not null comment '用户登录密码',
`nick` varchar(30) not null default "kity" comment '用户昵称', `nick` varchar(30) not null default "kity" comment '用户昵称',
`nick` varchar(200) comment '备注', `remark` varchar(200) comment '备注',
`ip` varchar(30) not null default "127.0.0.1" commit '用户当前ip', `ip` varchar(30) not null default "127.0.0.1" comment '用户当前ip',
`status` varchar(10) not null default "active" comment '该用户的状态 active、unactive、delete', `status` varchar(10) not null default "active" comment '该用户的状态 active、unactive、delete',
`role` varchar(100) not null default "nothing" comment '管理者分配的角色', `role` varchar(100) not null default "nothing" comment '管理者分配的角色',
`role_name` varchar(200) not null default "普通操作员" comment '操作员分配的角色名称', `role_name` varchar(200) not null default "普通操作员" comment '操作员分配的角色名称',
@ -177,8 +177,8 @@ CREATE TABLE IF NOT EXISTS `road_pool_info` (
CREATE TABLE IF NOT EXISTS `merchant_info`( CREATE TABLE IF NOT EXISTS `merchant_info`(
`id` int(11) unsigned not null auto_increment comment '主键,自增', `id` int(11) unsigned not null auto_increment comment '主键,自增',
`status` varchar(20) not null default "active" comment '商户状态状态', `status` varchar(20) not null default "active" comment '商户状态状态',
`belong_agent_uid` vachar(100) comment '所属代理uid', `belong_agent_uid` varchar(100) comment '所属代理uid',
`belong_agent_name` vachar(100) comment '所属代理名称', `belong_agent_name` varchar(100) comment '所属代理名称',
`merchant_name` varchar(100) not null default '客户' comment '商户名称', `merchant_name` varchar(100) not null default '客户' comment '商户名称',
`merchant_uid` varchar(100) not null comment '商户uid', `merchant_uid` varchar(100) not null comment '商户uid',
`merchant_key` varchar(100) not null comment '商户key', `merchant_key` varchar(100) not null comment '商户key',

Loading…
Cancel
Save