From bcd12b71d71a2ad41d3d38becd6bae86149cf973 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 23 Apr 2025 19:55:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:mysql=20=E5=9F=BA=E7=A1=80=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=95=B0=E6=8D=AE=E7=BC=BA=E5=B0=91block=5Fgroup=5Fbl?= =?UTF-8?q?ock=E8=A1=A8=E8=AE=B0=E5=BD=95=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/resources/sql/mysql/init_data_for_test.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/resources/sql/mysql/init_data_for_test.sql b/app/src/main/resources/sql/mysql/init_data_for_test.sql index e7510f95..cf486610 100644 --- a/app/src/main/resources/sql/mysql/init_data_for_test.sql +++ b/app/src/main/resources/sql/mysql/init_data_for_test.sql @@ -53,6 +53,8 @@ INSERT INTO `t_block_history` (`id`, `ref_id`, `message`, `version`, `label`, `n INSERT INTO `t_block_group` (`id`, `name`, `app_id`, `platform_id`, `description`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, '我的分组', 1, 1, '区块分组', '1', '1', '2024-10-16 19:15:53', '2024-10-16 19:15:53', '1', '1'); +INSERT INTO `r_block_group_block` VALUES (1, 1, 1); + INSERT INTO `t_material_history` (`id`, `ref_id`, `version`, `content`, `name`, `npm_name`, `framework`, `assets_url`, `image_url`, `description`, `material_size`, `tgz_url`, `unzip_tgz_root_path_url`, `unzip_tgz_files`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 1, '1.0.8', '{}', 'materialstwo', '@opentiny/lowcode-alpha-material-materialstwo-1505', 'Vue', '{\"material\":[\"\"],\"scripts\":[\"\",\"\"],\"styles\":[]}', NULL, '1.0.8', NULL, NULL, NULL, NULL, '1', '1', '2024-10-16 19:28:53', '2024-10-16 19:28:53', '1', '1'); INSERT INTO `t_tenant` (`id`, `name_cn`, `name_en`, `description`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`) VALUES (1, 'public', '公共租户', 'Default tenant for new user to explore.', '1', '1', '2024-10-16 19:31:28', '2024-10-16 19:31:28');