From 798faa2d74331153cf27e0ef7b8246ef5566a624 Mon Sep 17 00:00:00 2001 From: lingfeng Date: Mon, 21 Jun 2021 18:03:43 +0800 Subject: [PATCH] =?UTF-8?q?sql=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/wpsinit.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/wpsinit.sql b/src/main/resources/wpsinit.sql index 3281ee3..44dd7f2 100644 --- a/src/main/resources/wpsinit.sql +++ b/src/main/resources/wpsinit.sql @@ -23,7 +23,7 @@ CREATE TABLE `w_file_t` ( -- ---------------------------- -- Records of w_file_t -- ---------------------------- -INSERT INTO `w_file_t` VALUES ('1', 'log.doc', 1, 25, '1', 1563079046, '1', 1563079046, 'https://xxx/log.doc'); +INSERT INTO `w_file_t` (id,name,version,size,creator,create_time,modifier,modify_time,download_url)VALUES ('1', 'log.doc', 1, 25, '1', 1563079046, '1', 1563079046, 'https://xxx/log.doc'); -- ---------------------------- -- Table structure for w_file_version_t @@ -101,5 +101,4 @@ CREATE TABLE `w_user_t` ( -- ---------------------------- INSERT INTO `w_user_t` VALUES ('1', '张三', 'https://xxx/user0.png'); INSERT INTO `w_user_t` VALUES ('2', '李四', 'https://xxx/user1.png'); - SET FOREIGN_KEY_CHECKS = 1; -- Gitee