前提安装完mysql,并创建测试表和数据 DROP TABLE IF EXISTS `documents`; CREATE TABLE IF NOT EXISTS `documents` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `content` text NOT NULL, `date_added` datetime NOT NULL, `author_id` int(11) NOT NU…
前提安装完mysql,并创建测试表和数据 DROP TABLE IF EXISTS `documents`; CREATE TABLE IF NOT EXISTS `documents` ( `id` ) NOT NULL AUTO_INCREMENT, `title` varchar() NOT NULL, `content` text NOT NULL, `date_added` datetime NOT NULL, `author_id` ) NOT NULL, `group_id` )…