Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MeterSphere
metersphere
提交
570149f2
M
metersphere
项目概览
MeterSphere
/
metersphere
上一次同步 3 年多
通知
25
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
metersphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
570149f2
编写于
4月 28, 2020
作者:
C
chenjianxing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
测试报告ddl
上级
19c21dab
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
40 addition
and
1 deletion
+40
-1
backend/src/main/resources/db/migration/V2__metersphere_ddl.sql
...d/src/main/resources/db/migration/V2__metersphere_ddl.sql
+25
-0
backend/src/main/resources/db/migration/V3__init_data.sql
backend/src/main/resources/db/migration/V3__init_data.sql
+1
-0
package-lock.json
package-lock.json
+14
-1
未找到文件。
backend/src/main/resources/db/migration/V2__metersphere_ddl.sql
浏览文件 @
570149f2
...
...
@@ -319,4 +319,29 @@ CREATE TABLE IF NOT EXISTS `test_plan_test_case` (
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_bin
;
CREATE
TABLE
IF
NOT
EXISTS
`test_case_report_template`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
COMMENT
'Test case report template name'
,
`workspace_id`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'Workspace ID this project belongs to'
,
`content`
longtext
COMMENT
'Template content (JSON format)'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_bin
;
CREATE
TABLE
IF
NOT
EXISTS
`test_case_report`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
COMMENT
'Test case report name'
,
`plan_id`
bigint
(
50
)
DEFAULT
NULL
COMMENT
'Plan ID relation to'
,
`content`
longtext
COMMENT
'Report content (JSON format)'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_bin
;
-- track end
backend/src/main/resources/db/migration/V3__init_data.sql
浏览文件 @
570149f2
...
...
@@ -10,3 +10,4 @@ INSERT INTO role (id, name, description, type, create_time, update_time) VALUES
INSERT
INTO
role
(
id
,
name
,
description
,
type
,
create_time
,
update_time
)
VALUES
(
'test_user'
,
'测试人员'
,
null
,
null
,
1581576575948
,
1581576575948
);
INSERT
INTO
role
(
id
,
name
,
description
,
type
,
create_time
,
update_time
)
VALUES
(
'test_viewer'
,
'Viewer'
,
null
,
null
,
1581576575948
,
1581576575948
);
INSERT
INTO
test_case_report_template
(
name
,
content
)
VALUES
(
"默认模版"
,
"{
\"
components
\"
:[1,2,3,4,5],
\"
contentMap
\"
:{
\"
richTextComponentTitleSet
\"
:{},
\"
richTextComponentContentSet
\"
:{}}}"
);
package-lock.json
浏览文件 @
570149f2
{
"lockfileVersion"
:
1
"requires"
:
true
,
"lockfileVersion"
:
1
,
"dependencies"
:
{
"@ckeditor/ckeditor5-build-classic"
:
{
"version"
:
"18.0.0"
,
"resolved"
:
"https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-18.0.0.tgz"
,
"integrity"
:
"sha512-7nyaDU5sUSl+7wXPwr0d5bOlO2e0LRQh2iJJCJfAjjuUESwtiBGoFC+Ql5dEht0xlfARoSWQMlkUvGuHOVja7A=="
},
"@ckeditor/ckeditor5-vue"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/@ckeditor/ckeditor5-vue/-/ckeditor5-vue-1.0.1.tgz"
,
"integrity"
:
"sha512-4MaQwZ04cWwqYW0732sg2aqx9ILeHIP0LSLKUuLCLR21qYONZPvxY/V/czh1DH99toaL/iwPvEoJtO2ldriPaA=="
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录