Browse Source

feat: create algorithm_task_configuration table

Suuuuuukang 10 months ago
parent
commit
028aed44ee
1 changed files with 23 additions and 0 deletions
  1. 23 0
      script/sql/postgresql/data(postgresql).sql

+ 23 - 0
script/sql/postgresql/data(postgresql).sql

@@ -747,3 +747,26 @@ values(2024061115344104, '算法数据集合删除', 2024061115344100, '4',  '',
 
 insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
 values(2024061115344105, '算法数据集合导出', 2024061115344100, '5',  '', '', 1, 0, 'F', '0', '0', 'task:dataSet:export',       '', 1, now(), 1, null, '');
+
+-- 20240817更新
+-- @author sukang
+-- 训练测试任务配置表
+DROP TABLE IF EXISTS public.algorithm_task_configuration;
+CREATE TABLE "public"."algorithm_task_configuration" (
+ id BIGINT PRIMARY KEY,
+ name VARCHAR(255) NOT NULL,
+ train_url VARCHAR(255),
+ train_params TEXT,
+ verify_url VARCHAR(255),
+ verify_params TEXT,
+ test_url VARCHAR(255),
+ test_params TEXT,
+ remark VARCHAR(400),
+ "tenant_id" "pg_catalog"."int8" DEFAULT 0,
+ version           integer                 DEFAULT 0,
+ del_flag      smallint               DEFAULT '0'::smallint         NOT NULL,
+ "system" "pg_catalog"."varchar" COLLATE "pg_catalog"."default",
+ CONSTRAINT "algorithm_task_configuration_pkey" PRIMARY KEY ("id")
+);
+ALTER TABLE "public"."algorithm_task_configuration"
+    OWNER TO "postgres";