File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
server/src/main/resources/db/migration Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1- DELETE FROM ` test_devices` WHERE ` app_upload_id` = 15 or ` app_upload_id` = 16 ;
1+ UPDATE ` test_devices` SET ` app_upload_id` = NULL WHERE ` app_upload_id` not in ( SELECT id from ` uploads ` ) ;
22DELETE FROM ` test_device_suites` WHERE test_device_id > 314 AND test_device_id < 350 ;
33
44ALTER TABLE ` test_devices` MODIFY column ` app_upload_id` BIGINT (20 );
55ALTER TABLE ` test_devices` ADD KEY ` index_test_devices_on_app_upload_id` (` app_upload_id` );
6- UPDATE ` test_devices` SET app_upload_id = 15 WHERE app_upload_id = 17 OR app_upload_id = 18 OR app_upload_id = 12 ;
76UPDATE ` test_devices` SET app_upload_id = NULL WHERE app_path_type= ' USE_PATH' ;
87ALTER TABLE ` test_devices` ADD CONSTRAINT ` fk_app_upload_id_in_test_devices_to_uploads` FOREIGN
98 KEY (` app_upload_id` ) REFERENCES ` uploads` (` id` ) ON DELETE RESTRICT ON UPDATE NO ACTION;
You can’t perform that action at this time.
0 commit comments