refactor: 增加测试用例名称长度
This commit is contained in:
parent
f810d15bfb
commit
cc3006b9a1
|
@ -13,7 +13,7 @@ import javax.validation.constraints.Pattern;
|
|||
public class TestCaseExcelDataCn extends TestCaseExcelData {
|
||||
|
||||
@NotBlank(message = "{cannot_be_null}")
|
||||
@Length(max = 50)
|
||||
@Length(max = 255)
|
||||
@ExcelProperty("用例名称")
|
||||
private String name;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import javax.validation.constraints.Pattern;
|
|||
public class TestCaseExcelDataTw extends TestCaseExcelData {
|
||||
|
||||
@NotBlank(message = "{cannot_be_null}")
|
||||
@Length(max = 50)
|
||||
@Length(max = 255)
|
||||
@ExcelProperty("用例名稱")
|
||||
private String name;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import javax.validation.constraints.Pattern;
|
|||
public class TestCaseExcelDataUs extends TestCaseExcelData {
|
||||
|
||||
@NotBlank(message = "{cannot_be_null}")
|
||||
@Length(max = 50)
|
||||
@Length(max = 255)
|
||||
@ExcelProperty("Name")
|
||||
private String name;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
alter table test_plan add project_id varchar(50) null comment '测试计划所属项目';
|
||||
ALTER TABLE api_test_case MODIFY COLUMN name varchar(255) NOT NULL COMMENT 'Test name';
|
||||
ALTER TABLE api_test_case MODIFY COLUMN name varchar(255) NOT NULL COMMENT 'Test case name';
|
||||
|
||||
DROP PROCEDURE IF EXISTS test_cursor;
|
||||
DELIMITER //
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE test_case MODIFY COLUMN name varchar(255) NOT NULL COMMENT 'Test case name';
|
Loading…
Reference in New Issue