增大notes.content的容量

This commit is contained in:
luchenqun 2018-03-09 16:54:16 +08:00
parent 1c4dcbd5f8
commit b4cf03de7b
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ drop table if exists notes;
CREATE TABLE `notes` ( CREATE TABLE `notes` (
`id` int(11) NOT NULL AUTO_INCREMENT, -- id `id` int(11) NOT NULL AUTO_INCREMENT, -- id
`user_id` int(11) NOT NULL, -- 用户id `user_id` int(11) NOT NULL, -- 用户id
`content` varchar(4096) DEFAULT NULL, -- 备忘内容 `content` varchar(8092) DEFAULT NULL, -- 备忘内容
`tag_id` int(11) DEFAULT NULL, -- 分类id `tag_id` int(11) DEFAULT NULL, -- 分类id
`created_at` datetime DEFAULT now(), -- 创建时间 `created_at` datetime DEFAULT now(), -- 创建时间
PRIMARY KEY (`id`) PRIMARY KEY (`id`)