new migration task to set client_connection info fields to 255 chars
This commit is contained in:
		
							parent
							
								
									78a0c562cc
								
							
						
					
					
						commit
						8985843c66
					
				
					 4 changed files with 19 additions and 10 deletions
				
			
		|  | @ -337,9 +337,9 @@ public class ClientConnectionDAOImpl implements ClientConnectionDAO { | |||
|                     millisecondsNow, | ||||
|                     data.remoteProctoringRoomId, | ||||
|                     null, | ||||
|                     data.sebMachineName, | ||||
|                     data.sebOSName, | ||||
|                     data.sebVersion); | ||||
|                     Utils.truncateText(data.sebMachineName, 255), | ||||
|                     Utils.truncateText(data.sebOSName, 255), | ||||
|                     Utils.truncateText(data.sebVersion, 255)); | ||||
| 
 | ||||
|             this.clientConnectionRecordMapper.insert(newRecord); | ||||
|             return newRecord; | ||||
|  | @ -369,9 +369,9 @@ public class ClientConnectionDAOImpl implements ClientConnectionDAO { | |||
|                     millisecondsNow, | ||||
|                     null, | ||||
|                     null, | ||||
|                     data.sebMachineName, | ||||
|                     data.sebOSName, | ||||
|                     data.sebVersion); | ||||
|                     Utils.truncateText(data.sebMachineName, 255), | ||||
|                     Utils.truncateText(data.sebOSName, 255), | ||||
|                     Utils.truncateText(data.sebVersion, 255)); | ||||
| 
 | ||||
|             this.clientConnectionRecordMapper.updateByPrimaryKeySelective(updateRecord); | ||||
|             return this.clientConnectionRecordMapper.selectByPrimaryKey(data.id); | ||||
|  |  | |||
|  | @ -0,0 +1,9 @@ | |||
| -- ----------------------------------------------------- | ||||
| -- Alter Table `client_connection` | ||||
| -- ----------------------------------------------------- | ||||
| 
 | ||||
| ALTER TABLE `client_connection` | ||||
| MODIFY `client_machine_name` VARCHAR(255) NULL, | ||||
| MODIFY `client_os_name` VARCHAR(255) NULL, | ||||
| MODIFY `client_version` VARCHAR(255) NULL | ||||
| ; | ||||
|  | @ -1646,7 +1646,7 @@ sebserver.examtemplate.list.column.examType.tooltip=The exam type defined by the | |||
| sebserver.examtemplate.list.column.default=Default Template | ||||
| sebserver.examtemplate.list.column.default.tooltip=Indicates the current default exam template for the institution<br/>{0} | ||||
| sebserver.examtemplate.list.column.default.true=Yes | ||||
| sebserver.examtemplate.list.column.default.flase=No | ||||
| sebserver.examtemplate.list.column.default.false=No | ||||
| 
 | ||||
| sebserver.examtemplate.info.pleaseSelect=At first please select an Exam Template from the list | ||||
| 
 | ||||
|  |  | |||
|  | @ -129,9 +129,9 @@ CREATE TABLE IF NOT EXISTS `client_connection` ( | |||
|   `update_time` BIGINT UNSIGNED NULL, | ||||
|   `remote_proctoring_room_id` BIGINT UNSIGNED NULL, | ||||
|   `remote_proctoring_room_update` INT(1) UNSIGNED NULL, | ||||
|   `client_machine_name` VARCHAR(45) NULL, | ||||
|   `client_os_name` VARCHAR(45) NULL, | ||||
|   `client_version` VARCHAR(45) NULL, | ||||
|   `client_machine_name` VARCHAR(255) NULL, | ||||
|   `client_os_name` VARCHAR(255) NULL, | ||||
|   `client_version` VARCHAR(255) NULL, | ||||
|   PRIMARY KEY (`id`), | ||||
|   INDEX `connection_exam_ref_idx` (`exam_id` ASC), | ||||
|   INDEX `clientConnectionInstitutionRef_idx` (`institution_id` ASC), | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti