@@ -17,16 +17,16 @@ INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('f76205df-
1717INSERT INTO " public" ." store_tag" (" tool_unique_name" , " name" ) VALUES (' 77ee3e02-5870-4338-a8be-52c8ed42f3c7' , ' MODEL' ) ON CONFLICT (" tool_unique_name" , " name" ) DO NOTHING;
1818INSERT INTO " public" ." store_tag" (" tool_unique_name" , " name" ) VALUES (' 16816279-411b-48e1-b754-191abd61dcd0' , ' MODEL' ) ON CONFLICT (" tool_unique_name" , " name" ) DO NOTHING;
1919
20- INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" ) VALUES (0 , 0 , ' 切换默认模型' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' f76205df-1814-49b9-a473-c03ee99770b7' , ' ' , NULL ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
21- INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" ) VALUES (0 , 0 , ' 删除模型' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' ff0a4b59-0be7-436f-8931-6a599ed9f8f3' , ' ' , NULL ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
22- INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" ) VALUES (0 , 0 , ' 添加模型' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' 77ee3e02-5870-4338-a8be-52c8ed42f3c7' , ' ' , NULL ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
23- INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" ) VALUES (0 , 0 , ' 获取用户模型列表' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' 16816279-411b-48e1-b754-191abd61dcd0' , ' ' , NULL ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
20+ INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" , " user_group_id " ) VALUES (0 , 0 , ' 切换默认模型' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' f76205df-1814-49b9-a473-c03ee99770b7' , ' ' , NULL , ' * ' ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
21+ INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" , " user_group_id " ) VALUES (0 , 0 , ' 删除模型' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' ff0a4b59-0be7-436f-8931-6a599ed9f8f3' , ' ' , NULL , ' * ' ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
22+ INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" , " user_group_id " ) VALUES (0 , 0 , ' 添加模型' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' 77ee3e02-5870-4338-a8be-52c8ed42f3c7' , ' ' , NULL , ' * ' ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
23+ INSERT INTO " public" ." store_plugin_tool" (" like_count" , " download_count" , " tool_name" , " plugin_id" , " tool_unique_name" , " source" , " icon" , " user_group_id " ) VALUES (0 , 0 , ' 获取用户模型列表' , ' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' 16816279-411b-48e1-b754-191abd61dcd0' , ' ' , NULL , ' * ' ) ON CONFLICT (" plugin_id" , " tool_unique_name" ) DO NOTHING;
2424
25- INSERT INTO " public" ." store_plugin" (" plugin_id" , " plugin_name" , " extension" , " deploy_status" , " is_builtin" , " source" , " icon" ) VALUES (' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' 用戶查询模型工具' , ' {"uniqueness.groupId":"user-model-edit-groupId","pluginFullName":"aipp-custom-model-center-1.0.0-SNAPSHOT_1744769471992.jar","checksum":"77679d190769b46a8da7e2c08a1f2ce2680647e430514e7da1d39be3f3d17925","name":"用戶查询模型工具","description":"这是一个用戶查询模型工具","uniqueness.artifactId":"user-model-edit-artifactId","type":"java"}' , ' DEPLOYED' , TRUE, ' ' , NULL ) ON CONFLICT (" plugin_id" ) DO NOTHING;
25+ INSERT INTO " public" ." store_plugin" (" plugin_id" , " plugin_name" , " extension" , " deploy_status" , " is_builtin" , " source" , " icon" , " user_group_id " ) VALUES (' f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5' , ' 用戶查询模型工具' , ' {"uniqueness.groupId":"user-model-edit-groupId","pluginFullName":"aipp-custom-model-center-1.0.0-SNAPSHOT_1744769471992.jar","checksum":"77679d190769b46a8da7e2c08a1f2ce2680647e430514e7da1d39be3f3d17925","name":"用戶查询模型工具","description":"这是一个用戶查询模型工具","uniqueness.artifactId":"user-model-edit-artifactId","type":"java"}' , ' DEPLOYED' , TRUE, ' ' , NULL , ' * ' ) ON CONFLICT (" plugin_id" ) DO NOTHING;
2626
27- INSERT INTO "public"."app_builder_form" ("id", "name", "tenant_id", "appearance", "type", "create_by", "create_at", "update_by", "update_at", "is_deleted", "form_suite_id", "version") VALUES ('1568509614c245a39ce53bda9c3c2ec1', '模型管理表单', '31f20efc7e0848deab6a6bc10fc3021e', '{"imgUrl": "smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/form.png", "schema": {"name": "模型管理表单", "return": {"type": "object", "required": ["action", "info"], "properties": {"info": {"type": "object", "required": ["modelName", "modelId", "baseUrl", "isDefault", "userId", "apiKey"], "properties": {"apiKey": {"type": "string"}, "userId": {"type": "string"}, "baseUrl": {"type": "string"}, "modelId": {"type": "string"}, "isDefault": {"type": "integer"}, "modelName": {"type": "string"}, "type": {"type": "string"}}}, "action": {"enum": ["add", "delete", "switch", "quit"], "type": "string"}}}, "parameters": {"type": "object", "required": ["models"], "properties": {"models": {"type": "array", "items": {"type": "object", "required": ["modelId", "isDefault", "userId"], "properties": {"userId": {"type": "string"}, "baseUrl": {"type": "string"}, "modelId": {"type": "string"}, "createdAt": {"type": "string"}, "isDefault": {"type": "integer"}, "modelName": {"type": "string"}, "type": {"type": "string"}}}}}}}, "fileName": "模型管理表单.zip", "fileSize": 352510, "fileUuid": "7e9db4c01d8f482596fc1ddc78625496", "iframeUrl": "smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/build/index.html", "description": "这是一个模型管理表单"}', 'runtime', 'system', '2025-04-18 12:09:28.732006', 'system', '2025-04-18 12:09:28.73202', 0, '07b7ebd306944de683c2d060944da579', '1.0.0') ON CONFLICT ("id") DO NOTHING;
27+ INSERT INTO "public"."app_builder_form" ("id", "name", "tenant_id", "appearance", "type", "create_by", "create_at", "update_by", "update_at", "is_deleted", "form_suite_id", "version", "user_group_id") VALUES ('1568509614c245a39ce53bda9c3c2ec1', '模型管理表单', '31f20efc7e0848deab6a6bc10fc3021e', '{"imgUrl": "smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/form.png", "schema": {"name": "模型管理表单", "return": {"type": "object", "required": ["action", "info"], "properties": {"info": {"type": "object", "required": ["modelName", "modelId", "baseUrl", "isDefault", "userId", "apiKey"], "properties": {"apiKey": {"type": "string"}, "userId": {"type": "string"}, "baseUrl": {"type": "string"}, "modelId": {"type": "string"}, "isDefault": {"type": "integer"}, "modelName": {"type": "string"}, "type": {"type": "string"}}}, "action": {"enum": ["add", "delete", "switch", "quit"], "type": "string"}}}, "parameters": {"type": "object", "required": ["models"], "properties": {"models": {"type": "array", "items": {"type": "object", "required": ["modelId", "isDefault", "userId"], "properties": {"userId": {"type": "string"}, "baseUrl": {"type": "string"}, "modelId": {"type": "string"}, "createdAt": {"type": "string"}, "isDefault": {"type": "integer"}, "modelName": {"type": "string"}, "type": {"type": "string"}}}}}}}, "fileName": "模型管理表单.zip", "fileSize": 352510, "fileUuid": "7e9db4c01d8f482596fc1ddc78625496", "iframeUrl": "smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/build/index.html", "description": "这是一个模型管理表单"}', 'runtime', 'system', '2025-04-18 12:09:28.732006', 'system', '2025-04-18 12:09:28.73202', 0, '07b7ebd306944de683c2d060944da579', '1.0.0', '*') ON CONFLICT ("id") DO NOTHING;
2828
29- INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "collection_usr_cnt", "is_deleted", "path", "app_type", "app_suite_id", "is_active", "status", "unique_name", "publish_at", "app_id") VALUES ('cec6bfe7cb3a444f8a26a97ea513e501', '模型配置应用', 'system', '2025-07-25 03:33:56.014633', 'system', '2025-07-25 03:34:46.694847', '99bc4eda890041878bc0e4fe13114956', 'df3c7df760964d08b092f7c9d0eb9513', '31f20efc7e0848deab6a6bc10fc3021e', 'app', '1.0.0', '{"icon": "", "app_type": "b653edb7eb5a49be91abcd2c5877c6ad", "greeting": "", "store_id": "7a76cbd2-881d-469b-b2df-76abed7d0b61", "is_update": true, "description": "当你想要配置模型的时候,请使用我!", "latest_version": "1.0.0", "publishedUpdateLog": "", "publishedDescription": ""}', 'active', 'workflow', 'chatbot', 0, 0, 'P920UNZY2JkYoWhl', 'b653edb7eb5a49be91abcd2c5877c6ad', '0b4fe5a430104edfbe0dc6cff0ebea19', 't', 'published', '7a76cbd2-881d-469b-b2df-76abed7d0b61', '2025-07-25 03:34:46.69485', 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING;
29+ INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "collection_usr_cnt", "is_deleted", "path", "app_type", "app_suite_id", "is_active", "status", "unique_name", "publish_at", "app_id", "user_group_id") VALUES ('cec6bfe7cb3a444f8a26a97ea513e501', '模型配置应用', 'system', '2025-07-25 03:33:56.014633', 'system', '2025-07-25 03:34:46.694847', '99bc4eda890041878bc0e4fe13114956', 'df3c7df760964d08b092f7c9d0eb9513', '31f20efc7e0848deab6a6bc10fc3021e', 'app', '1.0.0', '{"icon": "", "app_type": "b653edb7eb5a49be91abcd2c5877c6ad", "greeting": "", "store_id": "7a76cbd2-881d-469b-b2df-76abed7d0b61", "is_update": true, "description": "当你想要配置模型的时候,请使用我!", "latest_version": "1.0.0", "publishedUpdateLog": "", "publishedDescription": ""}', 'active', 'workflow', 'chatbot', 0, 0, 'P920UNZY2JkYoWhl', 'b653edb7eb5a49be91abcd2c5877c6ad', '0b4fe5a430104edfbe0dc6cff0ebea19', 't', 'published', '7a76cbd2-881d-469b-b2df-76abed7d0b61', '2025-07-25 03:34:46.69485', 'cec6bfe7cb3a444f8a26a97ea513e501', '*') ON CONFLICT (id) DO NOTHING;
3030
3131INSERT INTO " public" ." app_builder_config" (" id" , " form_id" , " app_id" , " tenant_id" , " create_by" , " create_at" , " update_by" , " update_at" , " is_deleted" ) VALUES (' 99bc4eda890041878bc0e4fe13114956' , ' b8986770a6ffef44bbf2a9f26d6fc1be' , ' cec6bfe7cb3a444f8a26a97ea513e501' , ' 31f20efc7e0848deab6a6bc10fc3021e' , ' system' , ' 2025-04-18 11:54:33.515505' , ' system' , ' 2025-04-18 12:12:12.847078' , 0 ) ON CONFLICT (id) DO NOTHING;
3232
0 commit comments