bugfix: sql指定数据库 (#45)

This commit is contained in:
hhhhsc701
2025-10-31 10:41:19 +08:00
committed by GitHub
parent a600c1d793
commit d0bac68d3f
2 changed files with 6 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
use datamate;
CREATE TABLE t_dm_annotation_templates (
id VARCHAR(36) PRIMARY KEY,
name VARCHAR(32) NOT NULL COMMENT '模板名称',
@@ -16,4 +18,4 @@ CREATE TABLE t_dm_labeling_projects (
progress JSON,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
deleted_at TIMESTAMP NULL COMMENT '删除时间(软删除)'
);
);