From 95d5c3fca94558d645792fafa127a2492bf14789 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Thu, 18 Apr 2019 11:12:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/plugins/petscms/install.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/plugins/petscms/install.sql b/application/plugins/petscms/install.sql index 26c86b1d2..da57f5dcc 100644 --- a/application/plugins/petscms/install.sql +++ b/application/plugins/petscms/install.sql @@ -9,9 +9,9 @@ CREATE TABLE `s_plugins_petscms_pets` ( `birthday` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '出生日期', `type` char(60) NOT NULL DEFAULT '' COMMENT '类型', `varieties` char(60) NOT NULL DEFAULT '' COMMENT '品种', - `gender` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '性别(0公, 1母)', - `sterilization` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否绝育(0否, 1是)', - `vaccine` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否疫苗(0否, 1是)', + `gender` tinyint(2) NOT NULL DEFAULT '-1' COMMENT '性别(0公, 1母)', + `sterilization` tinyint(2) NOT NULL DEFAULT '-1' COMMENT '是否绝育(0否, 1是)', + `vaccine` tinyint(2) NOT NULL DEFAULT '-1' COMMENT '是否疫苗(0否, 1是)', `photo` mediumtext NOT NULL COMMENT '相册(json数据)', `content` mediumtext NOT NULL COMMENT '宠物简介', `person_name` char(30) NOT NULL DEFAULT '' COMMENT '主人姓名', -- GitLab